set_product_usage_for_reservation
Use this function to add or remove additional products for given reservation ID. This won't trigger notifications, web hooks or price recalculation. See
set_reservation_products for this functionality or if you'd like to set usage of all products for given reservation in a single call.
reservation_id int required
ID of the reservation
product_id int required
Additional product ID
quantity int required
Product quantity. Set to 0 if you want to remove additional product usage
extra_info string optional
Optional comments
If this is a recurring product, you can specify the usage date for this entry. For one-time products, skip this parameter.
method string required
must be set to
set_product_usage_for_reservation language string optional
by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned
api_key string required
your API key -
Click here to get your key. If your API key uses a hash key, you must also include the parameters
hash_key and hash_timestamp.
none
Click here to test this function in the API playground.