Reservations
Replace Reservation
Dostęp
Członek organizacji z tym uprawnieniem:
reservations:write
Klucz API z zakresami potrzebuje też tego uprawnienia w swoich zakresach.
PUT
Replaces an existing reservation.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
checkIn*stringFormat
date-timecheckOut?|nullguestSegments?array<>Items
items <= 20numberOfToddlers*numberRange
0 <= valuenumberOfChildren*numberRange
0 <= valuenumberOfAdults*numberRange
0 < valuenumberOfAnimals*numberRange
0 <= valuepreferredTerrainId?stringnote?stringcustomerId*stringallowOnlinePayments?booleanDefault
truesendConfirmationEmails?booleanDefault
truelicensePlates?array<>Default
[]customer*customFields?OK
application/json- response
curl -X PUT 'https://api.tillor.eu/orgs//reservations/string' \ -H 'Content-Type: application/json' \ -d '{ "checkIn": "2019-08-24T14:15:22Z", "numberOfToddlers": 0, "numberOfChildren": 0, "numberOfAdults": 1, "numberOfAnimals": 0, "customerId": "string", "customer": {}}'Example Response
null