Skip to main content
GET
/
admin
/
orders
/
{id}
/
order-group
curl 'http://localhost:9000/admin/orders/order_01HXYZ8Q2M4N6P8R0T2V4W6X8Y/order-group' \
  -H 'Authorization: Bearer <token>'
{
  "order_group": {
    "id": "og_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
    "customer_id": "cus_01HXYZ",
    "seller_count": 2,
    "total": 7400,
    "created_at": "2026-06-01T10:00:00.000Z",
    "updated_at": "2026-06-01T10:00:00.000Z"
  }
}
Looks up the order group containing the given order and returns its details. Responds with 404 if the order is not part of any group.

Path parameters

id
string
required
The order’s ID.

Query parameters

fields
string
Comma-separated fields to include in the response.

Response

order_group
object
curl 'http://localhost:9000/admin/orders/order_01HXYZ8Q2M4N6P8R0T2V4W6X8Y/order-group' \
  -H 'Authorization: Bearer <token>'
{
  "order_group": {
    "id": "og_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
    "customer_id": "cus_01HXYZ",
    "seller_count": 2,
    "total": 7400,
    "created_at": "2026-06-01T10:00:00.000Z",
    "updated_at": "2026-06-01T10:00:00.000Z"
  }
}