Stay organized with collections
Save and categorize content based on your preferences.
To remind users to use offers before they expire, a default notification is triggered 48 hours
before an offer expires. To trigger a notification, an offer must meet the following criteria:
It must not have previously triggered an expiration notification on the user’s device.
It must have a valid expiration datetime that's in the future, set in
validTimeInterval.end.date.
It must not have the writeable field disableExpirationNotification set to
True. By default, this field is set to false.
The following screenshot shows an example of the default, unmodifiable notification:
Offer expires (today, tomorrow, in [x] days)
class.title
class.titleImage
The header in the offer expiration notification cannot be customized.
Blackout hours
If the offer expiration notification is set to appear between 10PM and 6AM at the user’s local
time, the offer appears either before or after this time period.
Custom offer expiration notification time
You can customize when the Offer expiration notification appears using the
message.displayInterval.start.date field on OfferObjects or
OfferClasses. If a custom notification time is set, the expiration notification triggers
according to the message.displayInterval.start.date, instead of the default logic
calculated from validTimeInterval.end.date. The following is a sample of a customized
time for an expiration notification:
The displayInterval.start.date sets the time the notification appears. It can be
set up to 30 days prior to the expiration date. If a time span greater than this is specified, the
notification triggers at the 30 day mark. This message doesn't require a header and body field -
if they're included they aren't used.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-20 UTC."],[[["Offers trigger an expiration notification 48 hours before expiry if they have a future expiration date, haven't previously triggered a notification, and don't have `disableExpirationNotification` set to `True`."],["The default notification displays the offer's title, title image, and relative expiration time (today, tomorrow, or in x days)."],["Notifications are prevented from appearing between 10 PM and 6 AM local time, shifting to before or after this window."],["Custom notification times can be set using `message.displayInterval.start.date`, overriding the default 48-hour trigger and allowing scheduling up to 30 days before expiry."],["Only one expiration notification is sent per offer; a custom notification time prevents the default notification from triggering."]]],[]]