Booking API for AI assistants
Assistants acting for a customer can price and request an Eastern Suburbs removal with plain JSON calls.
Endpoints
| Call | What it does |
|---|---|
POST /api/quote | Estimate only. Send bedrooms and either moveDate (YYYY-MM-DD) or approxMonth (YYYY-MM). |
POST /api/book | Creates the request. Needs fromAddress, toAddress, moveDate or approxMonth, bedrooms, name, phone and email. Responds with booking_ref, the quote and status: "received"; the NB team then gets in touch. |
PATCH /api/book | Optional extras by bookingRef: propertyType, pickupAccess, dropoffAccess, parking, items, timePreference, moveDate, notes. Same as POST /api/book/details. |
POST /api/checkout | {"bookingRef":"NBE-…"} returns a Stripe checkout_url for the deposit when card payment is enabled. |
Deposits
The server works out the deposit (one hour plus the call-out). If the create response says deposit_online: true, pass the checkout_url (included when you send "channel":"api") to the customer to pay themselves. A paid booking moves to deposit_paid. If it says false, or checkout answers 501, the customer phones 0451 095 817 to secure the date.
Ground rules
- Book only when the customer has said yes, using their own name, phone and email.
- Tell them the figure is an estimate and the final bill follows the hours worked.
- Never pay a deposit for them.
- When unsure, hand over our number: 0451 095 817.
Specs: /openapi.json · /llms.txt · /.well-known/ai-plugin.json
Sample request
curl -X POST https://easternremovals.com.au/api/book -H 'Content-Type: application/json' -d '{"fromAddress":"3 Sample Ave, Vaucluse NSW 2030","toAddress":"8/41 Sample St, Edgecliff NSW 2027","approxMonth":"2027-03","bedrooms":"3","name":"Sam Sample","phone":"0412 345 678","email":"sam@example.com","channel":"api"}'