Skip to main content

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​

  • PATCH only the content that changed
  • Confirm the direction is vendor → ONDA (push)
  • Push settings.extra_adult_price changes with PATCH .../properties/{vendor_property_id}, sending null to clear it
  • Apply the mapping rules when changing channels on 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)

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}

Fallback lookups (optional)

TargetListSingle
PropertyGET /gds/vendor/propertiesGET .../{vendor_property_id}
Room typeGET .../roomtypesGET .../{vendor_roomtype_id}
Rate plan modelGET .../rateplan-modelsGET .../{vendor_rateplan_model_id}
Rate planGET .../rateplansGET .../{vendor_rateplan_id}
tip

Use POST to create content and PATCH to update it. Implement GET lookups if your operations require them.