Skip to main content
Anchor to OrderEditRemoveDiscountUserError

OrderEditRemoveDiscountUserError

object

An error that occurs during the execution of OrderEditRemoveDiscount.

•

The error code.

•

The path to the input field that caused the error.

•
String!non-null

The error message.


Was this section helpful?

•
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.

Arguments

Anchor to discountApplicationIddiscountApplicationId
•
ID!required

The ID of the calculated discount application to remove.

•
ID!required

The ID of the calculated order from which to remove the discount.


Fields

•

An order with the edits applied but not saved.

•

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?