Status Update
To activate or deactivate a property, room type, rate plan model, or rate plan, send the new sales status with PATCH.
Step by step
Endpoints
| Target | Endpoint |
|---|---|
| Property | PATCH /gds/vendor/properties/{vendor_property_id} |
| Room type | PATCH .../roomtypes/{vendor_roomtype_id} |
| Rate plan model | PATCH .../rateplan-models/{vendor_rateplan_model_id} |
| Rate plan | PATCH .../rateplans/{vendor_rateplan_id} |
Checklist
- Apply activation and deactivation at the property level
- Apply activation and deactivation at the room type, rate plan model, and rate plan levels
- Confirm that status changes return
200 OK
info
Status changes and content changes share the same PATCH endpoint. Because PATCH follows RFC 7396 Merge Patch, sending only the status field leaves the rest of the content untouched.