Content Update
When you change property, room type, or rate plan details, send the changes to ONDA with PATCH. Use GET to look up the registered details when needed.
Step by step
Checklist
-
PATCHonly the content that changed - Confirm the direction is vendor → ONDA (push)
- Push
settings.extra_adult_pricechanges withPATCH .../properties/{vendor_property_id}, sendingnullto clear it - Apply the mapping rules when changing
channelson a rate plan model - (Optional) Verify the fallback lookups work
Changing the property's default extra adult charge
To change the property's default charge for an additional adult, set settings.extra_adult_price to an integer amount in KRW in the update request. Send null to clear it. The charge applies to occupancy-based rates on Agoda and Trip.com and to extra occupancy charges on Plus channels.
Mapping changes when editing
channels on a rate plan model- Adding (
[131] → [131, 132]): a mapping is created for 132 only - Removing (
[131, 132] → [131]): existing mappings are kept, not deleted. Rate plans created afterwards get no mapping for 132 - Empty (
[131, 132] → []): mappings are created on every eligible channel
Endpoints
Pushing changes (required)
| 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} |
Fallback lookups (optional)
| Target | List | Single |
|---|---|---|
| Property | GET /gds/vendor/properties | GET .../{vendor_property_id} |
| Room type | GET .../roomtypes | GET .../{vendor_roomtype_id} |
| Rate plan model | GET .../rateplan-models | GET .../{vendor_rateplan_model_id} |
| Rate plan | GET .../rateplans | GET .../{vendor_rateplan_id} |
tip
Use POST to create content and PATCH to update it. Implement GET lookups if your operations require them.