v1

latestOpenAPI 3.0.12026-07-245277551.2 MB
Rate

patchRate

Update the rate of the room based on rateID selected, based on the provided parameters. You can make multiple rate updates in a single API call. Providing a startDate and/or endDate will update rates only within the interval provided. Only non derived rates can be updated, requests to update a derived rate will return an error. This endpoint performs updates asynchronously, rate updates are added to a queue and the endpoint returns a job reference ID. This job reference ID can be used to track job status notifications or to look up details of the update once it is completed. The API is limited to 30 interval per update, sending more than 30 will return an error.

post/patchRate

Response

200 Response

successboolean

Returns true if the request could be completed

jobReferenceIDstring

ReferenceId ID for the job created for this update. This can be used to track success of the batch for this rate update. See getRateJobs or the Rate Batch Job Webhook

messagestring nullable

To be used in case any error occurs (if success = false). If success = true, it does not exist.