List Order Histories
GET
/orders/{order_id}/historiesThis endpoint allows you to return the order history of previous and current order statuses for a specific order by passing the order_id
as a path parameter.
Request
Order ID
The Pagination page number
Request samples
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A unique identifier associated with a specific entry or record in a database that contains information about a customer's past order or transaction history.
The current state of a specific order in a customer's transaction history.
A written remark, or message associated with an order entry in a customer's transaction history.
Type value
For a better response behavior as well as maintain the best security level, All retrieving API endpoints use a mechanism to retrieve data in chunks called pagination. Pagination working by return only a specific number of records in each response, and through passing the page number you can navigate the different pages.
Number of returned results.
Number of all results.
Number of results per page.
Number of current page.
Number of total pages.
Array of linkes to next and previous pages.
{
"status": 200,
"success": true,
"data": [
{
"id": 213320125,
"status": "تم التنفيذ",
"note": "تم ارسال الطلب عبر شركة الشحن ارامكس",
"created_at": {
"date": "2020-04-02 18:59:47.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
},
{
"id": 213320122,
"status": "قيد التنفيذ",
"note": "null",
"created_at": {
"date": "2020-04-02 16:59:47.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
},
{
"id": 213320121,
"status": "تحت المراجعة",
"note": "null",
"created_at": {
"date": "2020-04-02 16:50:47.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
}
],
"pagination": {
"count": 3,
"total": 3,
"perPage": 15,
"currentPage": 1,
"totalPages": 1,
"links": []
}
}