Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scandipwa/sales-graphql
https://github.com/scandipwa/sales-graphql
Last synced: 14 days 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 (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-26T12:40:41.000Z (over 1 year ago)
- Last Synced: 2024-08-09T10:14:25.022Z (3 months ago)
- Language: PHP
- Size: 65.4 KB
- Stars: 1
- Watchers: 5
- 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