Create Rate Plan
POST/gds/vendor/properties/:vendor_property_id/roomtypes/:vendor_roomtype_id/rateplans
- Creates a rate plan beneath a room type. It is the unit that rates and business days are pushed against, so it is required before selling can begin.
idandvendor_rateplan_model_idare required.vendor_rateplan_model_idbinds the rate plan to a model, which determines its selling conditions.- Both the rate plan model and the room type must already exist.
- An existing
idreturns409. A missing referenced rate plan model or an 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)