Book a spa
- Services
- Booking upsell
- 5 routes
How to let a customer browse, book, and cancel a spa appointment from a booking?
This scenario documents how a customer can browse spa information, inspect care availability, review existing appointments, book a spa slot, and cancel it when needed from a booking context.
Overview
The route sequence combines product-level spa discovery with customer booking actions. It helps build a complete spa booking journey from care selection to appointment cancellation.
Prerequisites
product_idis needed to list spas and cares.customer_idandbooking_idare required for customer booking actions.- Customer-scoped routes require
authorization, and all documented calls requireaccept-languageandx-api-key.
Process workflow
Legend:
Mandatory
Optional
1
Retrieve spa information
Mandatory
GET/v0/products/{product_id}/spas
S2
Check treatment availabilities
Mandatory
GET/v0/products/{product_id}/spas/cares/{care_code}
S3
Retrieve existing spa appointments
Optional
GET/v0/customers/{customer_id}/bookings/{booking_id}/spas
S4
Book the spa appointment
Mandatory
POST/v0/customers/{customer_id}/bookings/{booking_id}/spas
S5
Cancel a spa appointment
Optional
DELETE/v0/customers/{customer_id}/bookings/{booking_id}/spas/{appointment_id}
S