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

# CalendarDetectedPromotion

> How Redo found a promotion on the brand's homepage. Set by Redo, not writable through this API. Redo stops updating the event once it is edited.

<ResponseField name="discountCode" type="String">
  The discount code the page showed, if any.
</ResponseField>

<ResponseField name="lastSeenAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
  When Redo last saw the promotion on the page.
</ResponseField>

<ResponseField name="sourceUrl" type="String!" required>
  The page the promotion was found on.
</ResponseField>

<ResponseField name="statedEndsAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime</a>}>
  The end date the page stated, if any.
</ResponseField>

<ResponseField name="status" type={<a href="/docs/api-reference/v3/reference/commerce-agent/calendar-detected-promotion-status">CalendarDetectedPromotionStatus!</a>} required>
  Whether the page still showed the promotion.
</ResponseField>


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