---
title: DiscountRedeemCodeInput - GraphQL Admin
description: The input fields for the redeem code to attach to a discount.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountRedeemCodeInput
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountRedeemCodeInput.md
api_name: admin
api_type: graphql
type: input-object
---

# 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/latest/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/latest/mutations/discountRedeemCodeBulkAdd#arguments-codes)

  ARGUMENT

***

## Map

### Mutations using this input

* [discount​Redeem​Code​Bulk​Add.codes](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountRedeemCodeBulkAdd#arguments-codes)
