note
to the Order History, by passing the order_id
as a path parameter.orders.read_write
- Orders Read & WriteAuthorization: Bearer ********************
{
"note": "string"
}
curl --location --request POST 'https://api.salla.dev/admin/v2/orders//histories' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"note": "string"
}'
{
"status": 200,
"success": true,
"data": {
"id": 1333127585,
"status": "مسترجع",
"customized": {
"id": 2062355698,
"name": "مسترجع",
"type": "custom",
"slug": "restored",
"original": {
"id": 989286562,
"name": "مسترجع"
},
"parent": {}
},
"note": "Ù…Ù„Ø§ØØ¸Ø©",
"created_at": {
"date": "2023-02-21 11:09:57.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
}
}