Order status can be updated using this endpoint.

Next statuses for the order

The status field of the order item must be in line with field nextStatuses of this order item. See example response under Get order details. Order item statuses are defined as follows:

Order item state numberOrder item state name
0Pending
6Acknowledged
1Hold
2Shipped
3Cancelled
4Returned
5Error

For instance, if we have the following response for order details:

{  
   "id":"5b7bd6e79d25801804f04d3b",
   "orderNumber":"15645",
   "orderDate":"2018-08-21T09:09:59.486Z",
   "status":0,
   "customer":{  
      "firstName":"aaaa",
[...]
      },
      "useHomeAddressAsDeliveryAddress":false
   },
   "items":[  
      {  
         "id":"5b7bd6e79d25801804f04d3a",
         "productId":"50c0e73c5c3d091434743f53",
[...]
         "status":0,
         "nextStatuses":[  
            1,
            2,
            3,
            6
         ]
      }
   ],
   "shippingPreferences":{  
      "shippingProvider":"Post Nord",
      "sendDeliveryNoteToCustomer":true
   },
   "activityLogs":[  
   ]
}

then for order 5b7bd6e79d25801804f04d3b and order item 5b7bd6e79d25801804f04d3a we can only set status 1, 2, 3 or 6 (Hold, Shipped, Cancelled, Acknowledged).

Language
Authentication
Response
Click Try It! to start a request and see the response here!