Switch order state

Switch the state of an existing order.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required

Format

The format of the API response can be either JSON or XML.

Allowed:
string
required

A unique internal identifier of the Order in B2Brouter.

Body Params

Attributes to update the state of the order

string
enum
required

Some states for an order:

  • delivery_confirmed - When the order is marked as the order has been confirmed.
  • closed - When the order is marked as closed.
  • accepted - When the order is marked as accepted.
  • refused - When the order is marked as refused.
  • received - The initial status of an order or when the order is marked as received.
Allowed:
Responses
204

State successfully switched

401

Unauthorized

403

Forbidden

404

Order not found

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json