Modo Claro
Create Order History
POST
/orders/{order_id}/historiesLast modified: 23 days ago
This endpoint allows you to append a note
to the Order History, by passing the order_id
as a path parameter.
Request
Parâmetros Path
order_id
integer
requerido
The Order ID. List of Order ID can be found here
Parâmetros Bodyapplication/json
note
string
requerido
Note value
Exemplo
{
"note": "string"
}
Request samples
Respostas
Success(200)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
No schema defined
Exemplo
{
"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: 23 days ago