Get a list of bookings
Request
- Base URL: https://api.clubmed.com
- URL: https://api.clubmed.com/v1/bookings
- Auth: OpenID Connect (https://auth.clubmed.com/.well-known/openid-configuration, scopes: openid, email, profile, clubmed)
Query parameters
string composed of a field name (can be a path), a comparison operator (>, >=, <=, <, ==, !=) and a value. Logical operator AND applies between filters
string composed of a field name (can be a path), a comparison operator (>, >=, <=, <, ==, !=) and a value. Logical operator AND applies between filters. Valid filters are : booking_status, payment_status, customer_id, attendees.household_id, departure_date.
string composed of a field name (can be a path), a direction operator (ASC, DESC). Valid sort fields are departure_date, creation_date, expiration_date. DESC retrieves newer bookings first.
Maximum rows count per page
Requested page number, starting from 1 (default: 1)
Headers
Optional Access Token (bearer)
Access Token (bearer)
Language/Country, as returned by <code>GET /v0/locales</code> ; e.g. "en-US", "fr-FR", "ja-JP"
Api_key provided by ClubMed API team
Response
ok
Example response
[
{
"id": "12345",
"creation_date": "20160415",
"departure_date": "20160415",
"return_date": "20160415",
"booking_status": "VALIDATED",
"payment_status": "PAID",
"products": [
{
"id": "ALHC_WINTER",
"label": "ALPES HUEZ",
"type": "VILLAGE",
"_links": [
{
"rel": "self",
"deprecated_rel": true,
"method": "GET",
"href": "https://api.clubmed.com/products",
"label": "A label"
}
]
}
],
"salesman_id": "987654",
"validation_date": "20160415",
"country_code": "FR",
"price": {
"total": 80,
"currency": "EUR"
},
"discounts": [
{
"id": "LMO"
}
],
"commission": {
"total": 80,
"currency": "EUR"
},
"seller_email": "pierre.dupont@partner.com",
"option_durability": {
"expiration_date_time": "20160415T10:23:00.234Z",
"is_reliable": true
},
"attendees": [
{
"customer_id": 987654,
"household_id": "Id of the household",
"civility": "MR",
"last_name": "Dupont",
"first_name": "Martin",
"type": "MAIN"
}
],
"_links": [
{
"rel": "self",
"deprecated_rel": true,
"method": "GET",
"href": "https://api.clubmed.com/products",
"label": "A label"
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.