Light Mode
List Order Histories
GET
/orders/{order_id}/historiesLast modified: 17 days ago
This 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
Path Params
order_id
integer
required
Order ID
Example:
3155923424
Query Params
page
integer
optional
The Pagination page number
Example:
5
Request samples
Responses
Success (200)
Record Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Example
{
"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": []
}
}
Last modified: 17 days ago