Skip to main content
PATCH
/
v2
/
orders
/
{id}
/
status
Update order status
curl --request PATCH \
  --url https://api.wizcommerce.com/v2/orders/{id}/status \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "status": "draft"
}
'
{
  "data": "<unknown>"
}
The PATCH request is used to partially update an existing entity by the given id. This means:
  • Only the fields provided in the request body will be updated.
  • Fields not provided in the request body will remain unchanged.
  • The request is idempotent, meaning multiple identical PATCH requests will always result in the same final state.

Authorizations

X-API-Key
string
header
required

API Key for authentication

Path Parameters

id
string
required

Order ID

Body

application/json

Request body with status

status
enum<string>
required
Available options:
draft,
confirmed,
cancelled
Example:

"draft"

Response

OK

data
any