Sort Orders Statuses

POST {{baseUrl}}/orders/statuses/sort

This endpoint allows you to sort the orders statuses on the Merchant dashboard.

orders.read_write - Orders Read & Write

Request Body

{"0"=>{"status_id"=>"<integer>", "sort"=>"<integer>"}, "1"=>{"status_id"=>"<integer>", "sort"=>"<integer>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;data&quot;:{&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;code&quot;:&quot;\u003cnumber\u003e&quot;}}