Get a list of bookings
Request
- Base URL: https://api.clubmed.com
- URL: https://api.clubmed.com/v2/bookings
- Auth: OpenID Connect (https://auth.clubmed.com/.well-known/openid-configuration, scopes: openid, email, profile, clubmed)
Query parameters
booking's status
Booking payment's status
ClubMed Product identifier
Last name of the main attendee
start date of the booking Supported formats: YYYY-MM-DD, YYYYMMDD, YYYYMM
end date of the booking Supported formats: YYYY-MM-DD, YYYYMMDD, YYYYMM
Customer ID (neolid clic)
Household id
Requested view for Partners only. SELLER means you want your seller bookings. AGENCY means you want your agency bookings. NETWORK means you want your network bookings. Possible values: SELLER, AGENCY, NETWORK. This parameter is optional.
Switch the date format returned by our API on the current route. (LEGACY: YYYYMMDDTHH:mm:ss.SSS, ISO: YYYY-MM-DDTHH:mm:ss.SSS[Z])
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
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",
"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",
"country_code": "FR",
"price": {
"total": 80,
"currency": "EUR"
},
"discounts": [
{
"id": "LMO"
}
],
"commission": {
"total": 80,
"currency": "EUR"
},
"seller_email": "pierre.dupont@partner.com",
"is_transport_included": true,
"households": [
{
"household_id": "23434",
"number_attendees": 2,
"main_attendee": {
"civility": "MR",
"first_name": "Marc",
"customer_id": 987654
},
"_links": [
{
"rel": "self",
"deprecated_rel": true,
"method": "GET",
"href": "https://api.clubmed.com/products",
"label": "A label"
}
]
}
],
"creation_date": "2022-04-15",
"departure_date": "2022-04-15",
"return_date": "2022-04-15",
"validation_date": "2022-04-15",
"option_durability": {
"expiration_date_time": "2022-04-15T10:23:00.234Z",
"is_reliable": true
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.