--- title: DiscountRedeemCodeInput - GraphQL Admin description: The input fields for the redeem code to attach to a 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/DiscountRedeemCodeInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/DiscountRedeemCodeInput.txt --- # Discount​Redeem​Code​Input input\_object The input fields for the redeem code to attach to a discount. ## Fields * code [String!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) non-null The code that a customer can use at checkout to receive the associated discount. *** ## Mutations using this input * [discount​Redeem​Code​Bulk​Add.​codes](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/discountRedeemCodeBulkAdd#argument-codes) MUTATION *** ## Map ### Mutations using this input * <\~>[discount​Redeem​Code​Bulk​Add.codes](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/discountRedeemCodeBulkAdd#argument-codes)