A comma separated list of identifiers for a promotion
A comma separated list of states for a promotion [PENDING|ACTIVE|EXPIRED|PENDING_APPROVAL|REJECTED|ALL]
Last request date and time. We recommend using the differential mode along with the states
parameter.
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.
Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.
curl -i -X GET \
'https://your-instance.mirakl.net/api/promotions?channel_codes=string&date_created_from=2019-08-24T14%3A15%3A22Z&date_created_to=2019-08-24T14%3A15%3A22Z&ending_after=2019-08-24T14%3A15%3A22Z&ids=string&last_request_date=2019-08-24T14%3A15%3A22Z&locale=string&max=0&offset=0&order=string&reward_offer_ids=string&shop_id=0&sort=string&starting_before=2019-08-24T14%3A15%3A22Z&states=ACTIVE&trigger_offer_ids=string&types=string'
{ "promotions": [ { … } ], "total_count": 0 }