Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
Indicates the origin (scheme, hostname, and port).
Query Parameters
This parameter allows filtering promotions that are only available at the moment. When set to true
, it selects only non-expired and active promotions.
Limits the number of objects to be returned. The limit can range between 1 and 100 items.
1 <= x <= 100
Which page of results to return. The lowest value is 1
.
Sorts 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
Response
Returns a dictionary with a tiers
property that contains an array of promotion tiers.
Response body schema for GET v1/client/v1/promotions/tiers
.
Promotion Tiers
The type of the object represented by JSON. This object stores information about promotion tiers in a dictionary.
Identifies the name of the attribute that contains the array of promotion tier objects.
Contains array of promotion tier objects.
Total number of promotion tiers.
As query results are always limited (by the limit parameter), the has_more
flag indicates if there are more records for given filter parameters. This lets you know if you can run another request to get more records returned in the results.