Update a time slot reservation
PATCH {baseUrl}/queues/{queueId}/reservations/{positionId}
The parameters and structure are identical to those used in the creation of a time slot reservation, ensuring consistency across API interactions.
Authentication
ApiKey header (organizational key) is required.
Request:
curl --location --request PATCH '{baseUrl}/queues/{queueId}/reservations/{positionId}' \
--header 'Content-Type: application/json' \
--header 'ApiKey: XYZ' \
--data-raw '{
"locale": "en",
"notification": {
"type": "phoneNumber",
"settings": {
"to": "+48000"
}
},
"customerInfo": ["Firstname Lastname"],
"numberOfPeople": 2,
"booking": {
"start": "2020-11-30T14:40:00.000Z",
"end": "2020-11-30T14:45:00.000Z",
"virtualAppointment": {
"isEnabled": true
}
},
"customData": {
"internalIdOrAnyOtherField": "foo",
}
}'
Response
{
"location": null,
"type": "booking",
"priority": 100,
"locale": "en",
"notification": {
"type": "phoneNumber",
"settings": {
"to": "+48000"
}
},
"numberOfPeople": 2,
"booking": {
"start": "2020-11-30T14:40:00.000Z",
"end": "2020-11-30T14:45:00.000Z"
},
"status": "reserved",
"label": "",
"id": "5afc59af-0270-481b-a50d-73445dd21ec6",
"queue": "64aa8a7f-a616-44e8-806a-165e08d91192",
"createdAt": "2020-11-30T15:15:17.176Z",
"QRCodeCheckInPositionId": "{\"type\":\"check-in-position\",\"positionId\":\"5afc59af-0270-481b-a50d-73445dd21ec6\"}",
"bookingReminderAt": null,
"customData": {
"internalIdOrAnyOtherField": "foo",
}
}