Order Changes API Routes
An order change is a proposed change to an order, such as adding or removing items, changing shipping methods, and more. They can be associated with order edits, claims, or exchanges. These API routes allow admin users to manage order changes.
POST /admin/order-changes/{id}#
Update an Order Change
Update an order change's details. An order change can be an exchange, claim, or edit. For example, you can edit whether an exchange carries over the parent order's promotion.
Authentication: secret API key (HTTP Basic authorization), cookie session, JWT bearer token.
Path parameters
idstringQuery parameters
created_atobjectOptionalupdated_atobjectOptionaldeleted_atobjectOptionalidstring | string[] | objectOptionalFilter by an order change's ID.
idstring | string[] | objectOptionalstatusstring | string[] | objectOptionalFilter by an order change's status.
statusstring | string[] | objectOptionalchange_typestring | string[] | objectOptionalFilter by the order change's change type.
change_typestring | string[] | objectOptional$andobject[]Optional$orobject[]OptionalfieldsstringOptional+ it will be added to the default fields, using - will remove it from the default fields. Without prefix it will replace the entire default fields.Request body (application/json)
carry_over_promotionsbooleanOptionalinternal_notestringOptionalRequest examples
Responses
200 OK
order_changeobjectThe order change's details.
order_changeobject400, 401, 404, 409, 422, 500: an error response is returned.