Orders
Create and read storefront orders. Examples below are illustrative, not a final public-version contract.
GET /api/orders
List orders for the current user/tenant.
GET /api/orders?limit=20 Authorization: Bearer <token>
{
"orders": [
{ "id": "ord_123", "status": "pending", "grandTotal": 250 }
]
}GET /api/orders/:id
Fetch a single order.
GET /api/orders/ord_123 Authorization: Bearer <token>
{
"id": "ord_123",
"status": "pending",
"items": []
}