Clowder Orders APIapi

Orders API

Mobile API for order history. JWT authentication required.

Endpoints

MethodPathDescription
POST/api/loginAuthenticate and get a JWT
GET/api/orders?customer_id=XRetrieve orders for a customer
GET/api/meYour token claims

Example

curl -s -X POST http://localhost:5000/api/login \
  -H 'Content-Type: application/json' \
  -d '{"username":"alice","password":"alice123"}'