Nimbu Developer Docs
ReferenceOrders

Archive a done or canceled order

POST
/orders/{order_id}/archive

Archives the order. Requires a master token and an admin user. Order must be done or canceled.

Authorization

AuthorizationBearer <token>

Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.

In: header

X-Nimbu-Site<token>

Identifier of the site context when authenticating with a personal access token.

In: header

Path Parameters

order_id*string

Order identifier

Response Body

application/json

curl -X POST "https://example.com/orders/string/archive"
{
  "status": "string",
  "state": "string"
}