Set order custom status
PUT
/ admin/ v1/ stores/ {store_id}/ orders/ {order_id}/ custom-statusMove the order to one of the store's statuses, or out of every status (null).
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.order_idstringrequiredThe order's ID, like
ord_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
custom_status_idstring · or nullTypeID with the
ostatprefix.
Returns
200 The order.
Errors
- 403
forbiddenMissing permission. - 404
not_foundNo such order. - 422
validation_failedNot one of the store's active statuses.