Orders
Retrieve Order
Retrieve a single order by ID.
GET
/
vendor
/
orders
/
{id}
curl 'http://localhost:9000/vendor/orders/order_01HXYZABCDEF' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { order } = await client.vendor.orders.$id.query({
$id: "order_01HXYZABCDEF",
})
{
"order": {
"id": "order_01HXYZABCDEF",
"display_id": 42,
"status": "pending",
"email": "jane@example.com",
"currency_code": "usd",
"items": [
{
"id": "ordli_01HXYZABCDEF",
"title": "T-Shirt / M",
"quantity": 1,
"unit_price": 2500
}
],
"summary": {
"current_order_total": 2500,
"paid_total": 2500
},
"created_at": "2026-06-01T10:00:00.000Z",
"updated_at": "2026-06-01T10:00:00.000Z"
}
}
Returns an order belonging to the authenticated seller, including items, addresses, payments, fulfillments, and returns.
Path parameters
Query parameters
Response
Show properties
Show properties
curl 'http://localhost:9000/vendor/orders/order_01HXYZABCDEF' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { order } = await client.vendor.orders.$id.query({
$id: "order_01HXYZABCDEF",
})
{
"order": {
"id": "order_01HXYZABCDEF",
"display_id": 42,
"status": "pending",
"email": "jane@example.com",
"currency_code": "usd",
"items": [
{
"id": "ordli_01HXYZABCDEF",
"title": "T-Shirt / M",
"quantity": 1,
"unit_price": 2500
}
],
"summary": {
"current_order_total": 2500,
"paid_total": 2500
},
"created_at": "2026-06-01T10:00:00.000Z",
"updated_at": "2026-06-01T10:00:00.000Z"
}
}
⌘I
curl 'http://localhost:9000/vendor/orders/order_01HXYZABCDEF' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { order } = await client.vendor.orders.$id.query({
$id: "order_01HXYZABCDEF",
})
{
"order": {
"id": "order_01HXYZABCDEF",
"display_id": 42,
"status": "pending",
"email": "jane@example.com",
"currency_code": "usd",
"items": [
{
"id": "ordli_01HXYZABCDEF",
"title": "T-Shirt / M",
"quantity": 1,
"unit_price": 2500
}
],
"summary": {
"current_order_total": 2500,
"paid_total": 2500
},
"created_at": "2026-06-01T10:00:00.000Z",
"updated_at": "2026-06-01T10:00:00.000Z"
}
}