> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DiscountCodeExpirationInput

> When the code stops working.

<ResponseField name="date" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime</a>}>
  Required when `type` is ON\_DATE.
</ResponseField>

<ResponseField name="days" type="Int">
  Required when `type` is AFTER\_DAYS.
</ResponseField>

<ResponseField name="type" type={<a href="/docs/api-reference/v3/reference/marketing/discount-code-expiration-input-type">DiscountCodeExpirationInputType!</a>} required>
  Whether the code never expires, expires on a date, or after a number of days.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.