> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/graphql-api/api-reference/objects/apply-discount-code-input.md).

# ApplyDiscountCodeInput

Autogenerated input type of ApplyDiscountCode

### Fields

#### clientMutationId ([String](/graphql-api/api-reference/objects/string.md))

A unique identifier for the client performing the mutation.

#### discountCode ([String](/graphql-api/api-reference/objects/string.md)!)

The discount code to apply to the cart.

#### subscriptionId ([ID](/graphql-api/api-reference/objects/id.md))

ID of the subscription to update. Required when authenticated through a project.
