Light Mode
Create Order History
POST
/orders/{order_id}/historiesLast modified:Â 2 months 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: 2 months ago