Update apartment rate plans
POST/v2/rates
Operation ID: setRates
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Deprecated: use POST /v2/los. Replaces all rate plans of the apartment, so always send every rate plan with all its daily rates. Works only together with POST /v2/availability (a day is bookable only if it is available and has a rate) and is ignored for apartments priced with LOS. A date may appear only once per rate plan; duplicates currently fail with 500.
Request
Responses
- 200
- 400
- 401
- 406
- 500
Successful creation or update of rate plans for the apartment
Bad Request
Authentication error
Request terminated
Internal server error