Anchor to section titled 'undefined'

OrderEditAddLineItemDiscountPayload
payload

Return type for orderEditAddLineItemDiscount mutation.


The discount applied to a line item during this order edit.

The line item with the edits applied but not saved.

An order with the edits applied but not saved.

The order edit session with the edits applied but not saved.

The list of errors that occurred from executing the mutation.


Was this section helpful?

Adds a discount to a line item 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.


Was this section helpful?
Map

Mutation with this payload

OrderEditAddLineItemDiscountPayload