Booking
Update booking rate
Accesso
Membro dell’organizzazione con questo permesso:
organization:settings:write
Una chiave API con scope deve avere il permesso anche tra i suoi scope.
PUT
Changes a seasonal rate.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
terrainTypeId*stringLength
1 <= lengthname*stringLength
1 <= length <= 100validFrom*stringMatch
^\d{4}-\d{2}-\d{2}$validTo*stringMatch
^\d{4}-\d{2}-\d{2}$pricePerNight*numberRange
0 <= valueminNights?integerRange
1 <= value <= 365Default
1priority?integerRange
0 <= value <= 100Default
0arrivalDays?array<>Items
items <= 7Default
[]OK
application/json- response
curl -X PUT 'https://api.tillor.eu/orgs//booking/rates/string' \ -H 'Content-Type: application/json' \ -d '{ "terrainTypeId": "string", "name": "string", "validFrom": "string", "validTo": "string", "pricePerNight": 0}'Example Response
null