Skip to main content
Anchor to OrderEditUpdateDiscountUserError

OrderEditUpdateDiscountUserError

object

An error that occurs during the execution of OrderEditUpdateDiscount.

•OrderEditUpdateDiscountUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Updates a manual line level 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

•ID!
required

The ID of the calculated order or the order edit session to edit. This is the edit used to update the discount.

•OrderEditAppliedDiscountInput!
required

The updated discount.

Anchor to discountApplicationIddiscountApplicationId
•ID!
required

The ID of the calculated discount application to update.



Was this section helpful?


Was this section helpful?