Retrieves a list of orders. Currently returns all orders. (Future implementation may filter based on user role/ID).
GET
/orders
curl \
--request GET 'http://localhost:3000/api/v1/orders' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"id": "string",
"userId": "string",
"status": "New",
"createdAt": "2025-05-04T09:42:00Z",
"stripePaymentIntentId": "string"
}
]
Response examples (401)
{
"message": "Order not found"
}
Response examples (500)
{
"message": "Order not found"
}