post https://external-api.xtremepush.com/api/external/list/promotion
Used to get summary information of promotions synced from connected bonus engines
The List promotions endpoint can be used to obtain a list of promotions that are stored in Xtremepush from a sync with any bonus engine connected to your project. Promotion sync is done once an hour so there should be no need to query the list/promotion
endpoint more frequently than that.
You can query with no parameters to see the full list of promotions and all related engines.
Example
Pull promotions for a specific engine using the condition
parameter with the name of the external system as below. This example displays specific values only.
curl --request POST \
--url https://external-api.xtremepush.com/api/external/list/promotion \
--header 'content-type: application/json' \
--data '{
"apptoken": "YOUR-APP-TOKEN",
"condition": [["external_system", "=", "tglab"]],
"select": ["id", "name", "external_id", "external_system"],
"limit": 1,
"offset": 2
}'