Create and update charges that apply at the property and room level, and setup up different configurations for different dates.
URL https://connect.booking.com
Connectivity Team connectivity@booking.com
Create and update charges that apply at the property and room level, and setup up different configurations for different dates.
curl -i -X GET \ 'https://supply-xml.booking.com/charges-api/properties/{propertyId}/charges'
Charges that apply across the property. Update requests must contain at least one charge between property and room arrays.
curl -i -X PUT \ 'https://supply-xml.booking.com/charges-api/properties/{propertyId}/charges' \ -H 'Content-Type: application/json' \ -d '{ "property_charges": [ { "charge_key": { "type": "SERVICECHARGE_ASIA", "guest_origin": "ANY", "travel_purpose": "ANY" }, "charge_periods": [ { "applicable": { "from": "string", "to": "string" }, "configuration": { "amount": { "value": 0, "base": [ null ], "mode": "PER_NIGHT" }, "excluded": true } } ] } ], "room_charges": [ { "room_id": 4294967295, "charges": [ { "charge_key": { "type": "SERVICECHARGE_ASIA", "guest_origin": "ANY", "travel_purpose": "ANY" }, "charge_periods": [ { "applicable": {}, "configuration": {} } ] } ] } ] }'