GET
/
api
/
v1
/
orders
Get Customer Orders
curl --request GET \
  --url https://api.cravejs.com/api/v1/orders \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Headers

Authorization
string
required
Bearer token from OTP verification
Format: Bearer {jwt_token}
{
  "success": true
}
This is a placeholder implementation that validates authentication but does not return actual order data. Orders are created automatically after successful Stripe payments via webhooks, but customer-facing order history functionality is not yet implemented. Full order history with detailed order data, filtering, and pagination is planned for a future release.

Authorizations

Authorization
string
header
required

JWT token from OTP verification

Response

200
application/json

Authentication validated successfully. Note: This is a placeholder response - actual order data is not yet returned.

Placeholder response while full order history functionality is under development.