Update a sales order

Updates the specified sales order by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

Path Params
integer
required

Sales order id

Body Params

sales order fields to be updated with new values

string
length ≥ 1

Updatable only when sales order status is NOT_SHIPPED or PENDING.

integer
≤ 2147483647

Updatable only when sales order status is NOT_SHIPPED or PENDING.

string
string

Updatable only when sales order status is NOT_SHIPPED or PENDING.

string

Updatable only when sales order status is NOT_SHIPPED or PENDING.

integer
≤ 2147483647

Updatable only when sales order status is NOT_SHIPPED or PENDING.

string
enum

When the status is omitted, NOT_SHIPPED is used as default. Use PENDING when you want to create sales order quotes.

Allowed:
string

E.g. USD, EUR. All currently active currency codes in ISO 4217 format. Updatable only when sales order status is NOT_SHIPPED or PENDING.

number

Updatable only when sales order status is PACKED or DELIVERED, otherwise it will fail with 422.

string

Updatable only when sales order status is PACKED or DELIVERED, otherwise it will fail with 422.

string | null
string | null
string | null
string | null
Responses

Language
Credentials
Bearer
Response
Choose an example:
application/json