Update Rate Plan Model
PATCH/gds/vendor/properties/:vendor_property_id/rateplan-models/:vendor_rateplan_model_id
- Updates a rate plan model's selling conditions. The change applies to every rate plan that references the model.
- Follows RFC 7396 JSON Merge Patch.
i18nis required on update requests as well. - Changing
channelschanges rate plan mappings. Adding a channel creates mappings only for the added channel, and removing a channel does not delete mappings that already exist. An empty array creates mappings on every eligible channel. sale_fromandsale_tomust both be sent or both omitted.- A reference or invariant violation returns
422.
Request
Responsesapplication/json
- 200
- 400
- 401
- 403
- 404
- 409
- 422
Update result
Bad Request (identifier mismatch between path and body, etc.)
Unauthorized
Forbidden
Not Found
Conflict (id already exists)
Unprocessable Entity (reference or invariant violation)