Switch order state

Switch the state of an existing order.

Log in to see full request history
Path Params
string
required

Format

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

json
required

A unique internal identifier of the Order in B2Brouter.

Body Params

Attributes to update the state of the order

string
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.
Responses
204

State successfully switched

401

Unauthorized

404

Order not found

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