Orders
List Order Changes
Retrieve the change history of an order.
GET
/
vendor
/
orders
/
{id}
/
changes
curl 'http://localhost:9000/vendor/orders/order_01HXYZABCDEF/changes' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { order_changes } = await client.vendor.orders.$id.changes.query({
$id: "order_01HXYZABCDEF",
})
{
"order_changes": [
{
"id": "ordch_01HXYZABCDEF",
"order_id": "order_01HXYZABCDEF",
"version": 2,
"change_type": "return",
"status": "confirmed",
"created_by": "sel_01HXYZABCDEF",
"actions": [
{
"id": "ordchact_01HXYZABCDEF",
"action": "RETURN_ITEM",
"details": { "quantity": 1 }
}
],
"created_at": "2026-06-02T10:00:00.000Z",
"confirmed_at": "2026-06-02T11:00:00.000Z"
}
]
}
Returns all order changes (edits, returns, exchanges, claims) recorded for the order, with their actions.
Path parameters
Query parameters
Response
Show properties
Show properties
curl 'http://localhost:9000/vendor/orders/order_01HXYZABCDEF/changes' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { order_changes } = await client.vendor.orders.$id.changes.query({
$id: "order_01HXYZABCDEF",
})
{
"order_changes": [
{
"id": "ordch_01HXYZABCDEF",
"order_id": "order_01HXYZABCDEF",
"version": 2,
"change_type": "return",
"status": "confirmed",
"created_by": "sel_01HXYZABCDEF",
"actions": [
{
"id": "ordchact_01HXYZABCDEF",
"action": "RETURN_ITEM",
"details": { "quantity": 1 }
}
],
"created_at": "2026-06-02T10:00:00.000Z",
"confirmed_at": "2026-06-02T11:00:00.000Z"
}
]
}
⌘I
curl 'http://localhost:9000/vendor/orders/order_01HXYZABCDEF/changes' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { order_changes } = await client.vendor.orders.$id.changes.query({
$id: "order_01HXYZABCDEF",
})
{
"order_changes": [
{
"id": "ordch_01HXYZABCDEF",
"order_id": "order_01HXYZABCDEF",
"version": 2,
"change_type": "return",
"status": "confirmed",
"created_by": "sel_01HXYZABCDEF",
"actions": [
{
"id": "ordchact_01HXYZABCDEF",
"action": "RETURN_ITEM",
"details": { "quantity": 1 }
}
],
"created_at": "2026-06-02T10:00:00.000Z",
"confirmed_at": "2026-06-02T11:00:00.000Z"
}
]
}