Skip to main content

Status Update

How a vendor pushes active and inactive states for properties, room types, rate plan models, and rate plans to ONDA with PATCH.

Step by step

Endpoints

TargetEndpoint
PropertyPATCH /gds/vendor/properties/{vendor_property_id}
Room typePATCH .../roomtypes/{vendor_roomtype_id}
Rate plan modelPATCH .../rateplan-models/{vendor_rateplan_model_id}
Rate planPATCH .../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.