> ## 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.

# DiscountCodeExpiration

> When this discount code stops working.

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

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

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


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