--- title: OrderEditAddLineItemDiscountPayload - GraphQL Admin description: Return type for `orderEditAddLineItemDiscount` mutation. api_version: unstable api_name: admin source_url: html: https://shopify.dev/docs/api/admin-graphql/unstable/payloads/ordereditaddlineitemdiscountpayload md: https://shopify.dev/docs/api/admin-graphql/unstable/payloads/ordereditaddlineitemdiscountpayload.md --- # Order​Edit​Add​Line​Item​Discount​Payload payload Return type for `orderEditAddLineItemDiscount` mutation. ## Fields * added​Discount​Staged​Change [Order​Staged​Change​Add​Line​Item​Discount](https://shopify.dev/docs/api/admin-graphql/unstable/objects/OrderStagedChangeAddLineItemDiscount) The discount applied to a line item during this order edit. * calculated​Line​Item [Calculated​Line​Item](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CalculatedLineItem) The line item with the edits applied but not saved. * calculated​Order [Calculated​Order](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CalculatedOrder) An order with the edits applied but not saved. * order​Edit​Session [Order​Edit​Session](https://shopify.dev/docs/api/admin-graphql/unstable/objects/OrderEditSession) The order edit session with the edits applied but not saved. * user​Errors [\[User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/UserError) non-null The list of errors that occurred from executing the mutation. *** ## Mutations with this payload * [order​Edit​Add​Line​Item​Discount](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/orderEditAddLineItemDiscount) mutation 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](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). * id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) required ### Arguments The ID of the [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder) or the order edit session to edit. * line​Item​Id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) required The ID of the calculated line item to add the discount to. * discount [Order​Edit​Applied​Discount​Input!](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/OrderEditAppliedDiscountInput) required The discount to add to the line item. *** *** ## Map ### Mutations with this payload * [order​Edit​Add​Line​Item​Discount](https://shopify.dev/docs/api/admin-graphql/unstable/types/orderEditAddLineItemDiscount)