extension/total/promotion/getHistory
POST
/extension/total/promotion/getHistoryThis returns the list of promotion histories 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 promotion ID.
Filter the list of promotion histories created after the spcified date.
Page number of the results.
The key for the ordering of the results. Accepts "date_added".
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_promotion_id": 0,
"filter_date_added": "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 histories available if there is no error.
The promotion history ID.
The promotion ID.
The customer ID.
The order ID.
The promotion total.
The date time promotion history was created.
{
"error": [
"string"
],
"total": 0,
"histories": [
{
"promotion_history_id": 0,
"promotion_id": 0,
"customer_id": 0,
"order_id": 0,
"total": 0,
"date_added": "string"
}
]
}