GET/users/{id}/orders
List user's orders
Retrieve user's orders. Same filtering, sorting, and pagination as `/orders`.
Parameters 13
| Name | Type | Description |
|---|---|---|
_page | query · integer | Page number (1-based) |
_limit | query · integer | Items per page |
_start | query · integer | Slice start index (alternative to page-based) |
ReturnsOrder
Bearer token required
Response examples
200Array of orders
[
{
"id": 1,
"userId": 1,
"items": [
{
"productId": 37,
"quantity": 2,
"price": 416.97
},
{
"productId": 16,
"quantity": 2,
"price": 478.87
}
],
"subtotal": 1791.68,
"tax": 143.33,
"shipping": 0,
"total": 1935.01,
"currency": "USD",
"status": "pending",
"paymentMethod": "credit_card",
"shippingAddress": {
"street": "6620 Maple Dr",
"city": "Fort Worth",
"state": "MI",
"zipCode": "16372",
"country": "US"
},
"trackingNumber": "TRK442765071",
"notes": null,
"createdAt": "2026-04-19T12:16:46.226Z",
"updatedAt": "2025-01-30T04:10:54.855Z"
}
]404404 — resource not found
{
"error": {
"status": 404,
"message": "users #999 not found"
}
}