scandipwa / sales-graphql
Magneto 2 销售相关功能扩展
1.3.2
2023-04-12 15:48 UTC
Requires
- magento/framework: *
- magento/module-sales-graph-ql: ^100.3
README
Magneto 2 销售相关功能扩展
内容包含什么?
此模块提供了对现有端点的GraphQl定制。
定制端点
- 允许通过entity_id过滤订单
input CustomerOrdersFilterInput { entity_id: FilterStringTypeInput @doc(description: "Filters by order entity id.") }
- 返回布尔值以定义订单是否可以重新订购,并且是否存在rss_link
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") }
- 返回行小计价格
interface OrderItemInterface { row_subtotal: Money! @doc(description: "The row subtotal price, including selected options") }
- 扩展已选择和输入的订单产品选项,以返回可下载链接、组合选项和文件