Light Mode
Create Order History
POST
/orders/{order_id}/historiesLast modified: 16 days ago
This endpoint allows you to append a note
to the Order History, by passing the order_id
as a path parameter.
Request
Path Params
order_id
integer
required
The Order ID. List of Order ID can be found here
Body Params application/json
note
string
required
Note value
Example
{
"note": "string"
}
Request samples
Responses
Success(200)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"id": 1333127585,
"status": "مسترجع",
"customized": {
"id": 2062355698,
"name": "مسترجع",
"type": "custom",
"slug": "restored",
"original": {
"id": 989286562,
"name": "مسترجع"
},
"parent": null
},
"note": "ملاحظة",
"created_at": {
"date": "2023-02-21 11:09:57.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
}
}
Last modified: 16 days ago