Skip to main content
Anchor to OrderEditRemoveDiscountPayload

OrderEditRemoveDiscountPayload

payload

Return type for orderEditRemoveDiscount mutation.

•CalculatedOrder

An order with the edits applied but not saved.

•[OrderEditRemoveDiscountUserError!]!
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.

Arguments

•ID!
required

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

Anchor to discountApplicationIddiscountApplicationId
•ID!
required

The ID of the calculated discount application to remove.



Was this section helpful?