Skip to main content
GET
/
v1
/
customers
/
{id}
/
orders
Get customer orders
curl --request GET \
  --url http://localhost:3000/v1/customers/{id}/orders
{
  "orders": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "order_number": "<string>",
      "display_id": "<string>",
      "status": "<string>",
      "total_amount": 123,
      "payment_status": "<string>",
      "fulfillment_status": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "estimated_pickup_time": "<string>",
      "item_count": 123
    }
  ],
  "total": 123
}

Path Parameters

id
string<uuid>
required

Customer profile UUID

Example:

"550e8400-e29b-41d4-a716-446655440000"

Query Parameters

limit
integer
default:20

Max items to return

Required range: 1 <= x <= 100
Example:

20

offset
integer | null
default:0

Items to skip

Required range: x >= 0
Example:

0

status
string

Filter by order status

Response

Customer orders

Get customer orders response

orders
object[]
required
total
number
required