Create a new order or booking
orders:write scopebooking, sale, enquiry| Field | Rule |
|---|---|
type | Required: booking, sale, or enquiry |
customerId | Must exist |
locationId | Must exist and be active |
scheduledAt | Required for bookings, future date |
services | At least one required |
| Code | Description |
|---|---|
400 | Validation error |
401 | Invalid API key |
403 | Missing orders:write scope |
404 | Customer or location not found |
409 | Time slot unavailable |