Create Rate Plan Model
POST/gds/vendor/properties/:vendor_property_id/rateplan-models
- Creates a rate plan model at the property level. A rate plan is defined as a room type combined with one of these models, so the model must exist first.
idandi18n(withko-krrequired) must be supplied.- Exactly one model with
typeset tostandaloneis required per property. There is no limit onpackagemodels. sale_fromandsale_tomust both be sent or both omitted; sending only one is rejected. Settingmax_losto0means no maximum length of stay.- Sending
channelsrestricts sales to those channels; omitting it sells on all channels. - An existing
idreturns409, and a reference or invariant violation returns422.
Request
Responsesapplication/json
- 200
- 400
- 401
- 403
- 404
- 409
- 422
Creation result
Bad Request (identifier mismatch between path and body, etc.)
Unauthorized
Forbidden
Not Found
Conflict (id already exists)
Unprocessable Entity (reference or invariant violation)