--- title: DiscountCustomerSegmentsInput - GraphQL Admin description: >- The input fields for which customer segments to add to or remove from the discount. 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/DiscountCustomerSegmentsInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/DiscountCustomerSegmentsInput.txt --- # Discount​Customer​Segments​Input input\_object The input fields for which customer segments to add to or remove from the discount. ## Fields * add [\[ID!\]](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) A list of customer segments to add to the current list of customer segments. * remove [\[ID!\]](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) A list of customer segments to remove from the current list of customer segments. *** ## Input objects using this input * [Discount​Customer​Selection​Input.​customer​Segments](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/DiscountCustomerSelectionInput#field-customerSegments) INPUT OBJECT The input fields for the customers who can use this discount. *** ## Map ### Input objects using this input * [Discount​Customer​Selection​Input.customerSegments](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/DiscountCustomerSelectionInput#field-customerSegments)