--- title: ExchangeLineItemInput - GraphQL Admin description: >- The input fields for new line items to be added to the order as part of an exchange. api_version: 2024-10 api_name: admin type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ExchangeLineItemInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ExchangeLineItemInput.txt --- # Exchange​Line​Item​Input input\_object The input fields for new line items to be added to the order as part of an exchange. ## Fields * applied​Discount [Exchange​Line​Item​Applied​Discount​Input](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ExchangeLineItemAppliedDiscountInput) The discount to be applied to the exchange line item. * gift​Card​Codes [\[String!\]](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The gift card codes associated with the physical gift cards. * quantity [Int!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/Int) non-null The quantity of the item to be added. * variant​Id [ID](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) The ID of the product variant to be added to the order as part of an exchange. *** ## Input objects using this input * [Return​Input.​exchange​Line​Items](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ReturnInput#field-exchangeLineItems) INPUT OBJECT The input fields for a return. *** ## Map ### Input objects using this input * [Return​Input.exchangeLineItems](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ReturnInput#field-exchangeLineItems)