Update order
Orders
Update an order
Update shopper-editable fields on the authenticated shopper’s own order.
PATCH
Update order
Request
Headers
| Header | Type | Description |
|---|---|---|
Authorization | string | Provide the customer token as Bearer <jwt>. |
x-shop-id | string | Identify the shop that owns the order. |
Content-Type | string | Always set to application/json. |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The order’s ObjectId. |
Body parameters
At least one field must be provided. Only the shopper who placed the order can update it.| Field | Type | Required | Description |
|---|---|---|---|
additionalInfo | array | No | Replaces the order’s additional info. Each entry has label and value — see below. |
notes | string | No | Free-text notes on the order (max 5000 characters). |
additionalInfo entries
| Field | Type | Required | Description |
|---|---|---|---|
label | string | Yes | The field name (max 100 characters). |
value | string | No | The field value (max 2000 characters). |
additionalInfo is replaced wholesale, not merged. Send the full list you want
the order to end up with. Entries without a label are dropped and the list is
capped at 50 entries.Successful response
Error response
Authorizations
JWT issued by the Salesive Store API for authenticated shoppers.
Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.
Path Parameters
The ID of the order to update
Body
application/json

