https://github.com/scandipwa/sales-graphql
https://github.com/scandipwa/sales-graphql
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/scandipwa/sales-graphql
- Owner: scandipwa
- License: osl-3.0
- Created: 2021-11-16T00:14:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-26T12:40:41.000Z (almost 2 years ago)
- Last Synced: 2025-03-23T09:48:25.396Z (3 months ago)
- Language: PHP
- Size: 65.4 KB
- Stars: 1
- Watchers: 4
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scandipwa_SalesGraphQl
Magneto 2 Sales related functionality extension
## What`s inside?
This module provides GraphQl customization to exist one endpoints.
### Customization endpoints
* Allows filtering orders by entity_id
```graphql
input CustomerOrdersFilterInput {
entity_id: FilterStringTypeInput @doc(description: "Filters by order entity id.")
}
```
* Returns boolean to define if order can be reordered and rss_link exist for it```graphql
type CustomerOrder {
can_reorder: Boolean! @doc(description: "Defines if order can be reordered")
rss_link: String @doc(description: "Represents rss link to subscribe on order status")
}
```* Return row subtotal price
```graphql
interface OrderItemInterface {
row_subtotal: Money! @doc(description: "The row subtotal price, including selected options")
}
```* Extend order products selected and entered options to return
also downloadable links, bundle options and files