extension/total/promotion/getCategory
POST
/extension/total/promotion/getCategoryThis returns the list of promotion categories available for the Equotix One account.
Request
The domain you are assigned to authenticate your Equotix One account.
The email address assigned to the user account in your Equotix One.
The unix timestamp used to sign this API request.
The calculated signature for this API request.
Filters the list by the name.
Filter the list of promotion categories modified after the spcified date.
Page number of the results.
The key for the ordering of the results. Accepts "name", "date_added", "date_modified".
The direction for the ordering of the results. Accepts "ASC", "DESC"
The number of results per page. Accepts 1 to 100.
{
"domain": "string",
"api_key": "string",
"auth_timestamp": 0,
"auth_signature": "string",
"filter_name": "string",
"filter_date_modified": "string",
"page": 0,
"sort": "string",
"order": "string",
"limit": 0
}
Responses
Returns only if there is an error.
The total number of results available if there is no error.
The list of promotions available if there is no error.
The promotion category ID.
The name.
The date time category was created.
The date time the category was last modified.
The items in the category.
{
"error": [
"string"
],
"total": 0,
"categories": [
{
"promotion_category_id": 0,
"name": "string",
"date_added": "string",
"date_modified": "string",
"items": {}
}
]
}