Mock Orders API Example

Prototype order history, tracking, cancellation, and refund states.

GET /api/orders/ord_204
200 OK
{"id":"ord_204","status":"shipped","trackingNumber":"TRK123"}

Include no orders, cancelled order, refund pending, shipment delayed, and not-found responses.

Create Free Mock API