This feature is a Beta Service. You may opt-in to try this service at your sole discretion. Any use of this service is subject to the Customer Agreements and User Terms for Products and Services.
Shop the Future
You can retrieve promotions that are active at a particular time. Implement this use case in your storefront by following the steps below:
- Log in to Business Manager, and navigate to Administration > Feature Switches.
- Search for “Enable Shopper Context awareness”, and enable the feature toggle. There’s no need to specify the Base URL Override unless there’s a routing issue.
To retrieve promotions that are active within a particular time window, set an effective date as a context parameter.
If the effect date time isn’t provided, the current
dateTime is assumed.