post https://{api_url}/api/v5//bookings
Creates a single booking without requiring admin permissions. This is a basic API that
only allows creating a purchase with a single item. Use the basket APIs if booking
multiple items or if the there is a need to hold the time slot before the client
completes the booking.
Event Booking with an existing Customer record and Booking Questions and Answers
{
"datetime": "2022-05-30T07:30:00+01:00",
"event_id": 870,
"event_chain_id": 4,
"member_id": 225,
"questions": {
"1": {
"answer": "S"
},
"2": {
"answer": "XL"
}
}
}
Appointment Booking with creating a new Client record in JRNI
{
"service_id": 5,
"datetime": "2023-06-03T10:30:00+01:00",
"client": {
"email": "[email protected]",
"first_name": "Joe",
"last_name": "Bloggs",
"country": "United Kingdom",
"mobile": "0700123456"
},
"questions": {
"1": {
"answer": "S"
},
"2": {
"answer": "XL"
}
}
}