Skip to navigation

Update

View as Markdown

Use this request to update the ‘extra_data’ field of an existing order.

This endpoint accepts the Application API Scope only. Storefront API Scope signatures are rejected.

Authentication

x-api-keystring

Application API Scope — server-to-server, sent in the x-api-key header. See Authentication.

Path parameters

order_idstringRequired
Unique order ID

Request

This endpoint expects an object.
extra_dataobjectRequired
Extra order data, as a JSON object. It replaces the order's existing extra data and can be at most 1024 characters once encoded.

Response

200
extra_dataobjectOptional

The order’s extra data, parsed from its stored JSON. {} when the order has none.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error