--- title: OrderEditAddLineItemDiscountPayload - GraphQL Admin description: Return type for `orderEditAddLineItemDiscount` mutation. api_version: 2025-07 api_name: admin type: payload api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/2025-07/payloads/ordereditaddlineitemdiscountpayload md: https://shopify.dev/docs/api/admin-graphql/2025-07/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/2025-07/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/2025-07/objects/CalculatedLineItem) The line item with the edits applied but not saved. * calculated​Order [Calculated​Order](https://shopify.dev/docs/api/admin-graphql/2025-07/objects/CalculatedOrder) An order with the edits applied but not saved. * user​Errors [\[User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/2025-07/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/2025-07/mutations/orderEditAddLineItemDiscount) mutation Applies a discount to a [`LineItem`](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem) during an order edit session. The discount can be either a fixed amount or percentage value. To modify pricing on specific line items, use this mutation after starting an order edit with the [`orderEditBegin`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderEditBegin) mutation. The changes remain staged until you commit them with the [`orderEditCommit`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderEditCommit) mutation. Learn more about [editing existing orders](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/edit-orders). * id [ID!](https://shopify.dev/docs/api/admin-graphql/2025-07/scalars/ID) required ### Arguments The ID of the [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder) to update. * line​Item​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2025-07/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/2025-07/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/2025-07/types/orderEditAddLineItemDiscount)