--- title: DiscountRedeemCodeInput - GraphQL Admin description: The input fields for the redeem code to attach to a discount. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DiscountRedeemCodeInput md: >- https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DiscountRedeemCodeInput.md metadata: domain: admin --- # 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/unstable/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/unstable/mutations/discountRedeemCodeBulkAdd#arguments-codes) ARGUMENT *** ## Map ### Mutations using this input * [discount​Redeem​Code​Bulk​Add.codes](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/discountRedeemCodeBulkAdd#arguments-codes)