Sort Orders Statuses
POST {{baseUrl}}/orders/statuses/sort
This endpoint allows you to sort the orders statuses on the Merchant dashboard.
Scope: orders.read_write
- Orders Read & Write
Request Body
{"0"=>{"status_id"=>"<integer>", "sort"=>"<integer>"}, "1"=>{"status_id"=>"<integer>", "sort"=>"<integer>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"status":"\u003cnumber\u003e","success":"\u003cboolean\u003e","data":{"message":"\u003cstring\u003e","code":"\u003cnumber\u003e"}}