This method enables you to list promotion stacks irrespective of the campaign they are associated with.
You can use filters in the query parameters to specify the stacks to be returned in the response.
| Filters | Examples |
|---|---|
| Created Before | - [created_at][before]=2021-12-30T13:52:18.227Z- [filters][created_at][conditions][$before][0]=2021-12-30T13:52:18.227Z |
| Created After | - [created_at][after]=2021-12-30T13:52:18.227Z- [filters][created_at][conditions][$after][0]=2021-12-30T13:52:18.227Z |
| Updated Before | - [updated_at][before]=2021-12-30T13:52:18.227Z- [filters][updated_at][conditions][$before][0]=2021-12-30T13:52:18.227Z |
| Updated After | - [updated_at][after]=2021-12-30T13:52:18.227Z- [filters][updated_at][conditions][$after][0]=2021-12-30T13:52:18.227Z |
The access token received from the authorization server in the OAuth 2.0 flow.
Limits the number of objects to be returned. The limit can range between 1 and 100 items.
1 <= x <= 100Which page of results to return. The lowest value is 1.
1 <= x <= 100Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
created_at, -created_at, updated_at, -updated_at, name, -name A filter on the list based on the object created_at field. The value is a dictionary with the following options: before, after. A date value must be presented in ISO 8601 format (2016-11-16T14:14:31Z or 2016-11-16). An example: [created_at][before]=2017-09-08T13:52:18.227Z
A filter on the list based on the object updated_at field. The value is a dictionary with the following options: before, after. A date value must be presented in ISO 8601 format (2016-11-16T14:14:31Z or 2016-11-16). An example: [updated_at][before]=2017-09-08T13:52:18.227Z
Returns a dictionary with a data property that contains an array of promotion stacks across all your campaigns.
Response body schema for GET v1/promotions/stacks and for GET v1/promotions/{campaignId}/stacks.
The type of the object represented by JSON. This object stores information about promotion stacks in a dictionary.
list Identifies the name of the attribute that contains the array of promotion stack objects.
data Contains array of promotion stack objects.
Total number of promotion stacks.
x >= 0