customer's bookings list
Provide the list of all bookings of a customer: past, present and future for all statuses.<br> The following filters can be applied:<br> filters on the "period" (PASTS, CURRENTS, FUTURS). The period is based on the booking end date.<br> filters on the "booking_status" (VALIDATED, OPTION)<br>
Request
- Base URL: https://api.clubmed.com
- URL: https://api.clubmed.com/v3/customers/{customer_id}/bookings
- Auth: one of:
- OpenID Connect (https://accounts.clubmed.com/.well-known/openid-configuration, scopes: openid, email, profile, clubmed)
- OpenID Connect (https://auth.clubmed.com/.well-known/openid-configuration, scopes: openid, email, profile, clubmed)
Path parameters
Customer ID (neolid clic)
Query parameters
The period is based on the booking end date
The status of the booking: VALIDATED, CANCELED, QUOTATION, OPTION, HOPE, EXPIRED_OPTION, REQUEST. For multiple criterion, separate with comma and without space: "VALIDATED,OPTION"
minimum creation date of the booking Supported formats: YYYY-MM-DD, YYYYMMDD Supported formats: YYYY-MM-DD, YYYYMMDD, YYYYMM
maximum creation date of the booking Supported formats: YYYY-MM-DD, YYYYMMDD Supported formats: YYYY-MM-DD, YYYYMMDD, YYYYMM
Discount that must be present in the booking
Bookings sorting : ASC returns oldest bookings first, DESC returns newest bookings first (default: ASC). Use departure_date:ASC OR departure_date:DESC to sort
Requested page number, starting from 1 (default: 1)
max number of bookings by page (default: 10)
Headers
Language/Country, as returned by <code>GET /v0/locales</code> ; e.g. "en-US", "fr-FR", "ja-JP"
Optional Access Token (bearer)
Access Token (bearer)
Api_key provided by ClubMed API team
Response
ok
Changes
No recorded changes to this operation across all 1 revision of this API.