Call Frequency
Recommended usage: At each display of a promotions list page or on-promo offer detail page.
Maximum usage: At each display of a promotions list page or on-promo offer detail page.
Pagination
This resource supports offset pagination (see documentation)
Sort fields
sort field can have the following values:
- startDate (Default) - Sort by promotion activity start date (Newest first) (desc by default)
- endDate - Sort by promotion activity end date (Newest first) (desc by default)
- dateCreated - Sort by promotion creation date (Newest first) (desc by default)
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMINROLE_PARTNER_PROMOTION_READ)
The locale to filter the medias and the public descriptions with. If not specified, medias and public descriptions of all locales are returned.If specified, only the media and the public description matching the locale will be returned, or, if not exist, the one matching the platform default locale.
- URL to be replaced by your Mirakl instance URLhttps://your-instance.mirakl.net/api/promotions
curl -i -X GET \
'https://your-instance.mirakl.net/api/promotions?ids=string&types=string&states=ACTIVE&ending_after=2019-08-24T14%3A15%3A22Z&starting_before=2019-08-24T14%3A15%3A22Z&date_created_from=2019-08-24T14%3A15%3A22Z&date_created_to=2019-08-24T14%3A15%3A22Z&last_request_date=2019-08-24T14%3A15%3A22Z&locale=string&trigger_offer_ids=string&reward_offer_ids=string&channel_codes=string&shop_id=0' \
-H 'Authorization: YOUR_API_KEY_HERE'