Anchor to OrderEditRemoveDiscountUserErrorOrder
objectOrder Edit Remove Discount User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- Anchor to codecode•Order
Edit Remove Discount User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- •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.
- Anchor to discountApplicationIddiscount•ID!required
Application Id The ID of the calculated discount application to remove.
- •ID!required
The ID of the calculated order from which to remove the discount.
Arguments
- Anchor to calculatedOrdercalculated•Calculated
Order Order An order 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.
Fields
Was this section helpful?