Light Mode
Sort Orders Statuses
POST
/orders/statuses/sortLast modified: 2 months ago
This endpoint allows you to sort the orders statuses on the Merchant dashboard.
Request
Body Params application/json
No schema defined
Example
[
{
"status_id": 12345,
"sort": 2
},
{
"status_id": 654321,
"sort": 1
},
{
"status_id": 98765,
"sort": 4
}
]
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": {
"message": "The entities has been updated successfully",
"code": 200
}
}
Last modified: 2 months ago