Anchor to OrderEditRemoveDiscountPayloadOrder
payloadOrder Edit Remove Discount Payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to calculatedOrdercalculated•Calculated
Order Order An order with the edits applied but not saved.
- Anchor to orderEditSessionorder•Order
Edit Session Edit Session The order edit session with the edits applied but not saved.
- Anchor to userErrorsuser•[Order
Errors Edit Remove Discount User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- •mutation
Removes a discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.
- •ID!required
The ID of the calculated order or the order edit session to edit. This is the edit from which the discount is removed.
- Anchor to discountApplicationIddiscount•ID!
Application Id required The ID of the calculated discount application to remove.
Arguments
- •ID!
Was this section helpful?