API - Planyo Web Services - set_product_usage_for_reservation

You are here: Planyo » Help » API » 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
usage_time DateTime optional
If this is a recurring product, you can specify the usage date for this entry. For one-time products, skip this parameter.
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.



API playground:

Click here to test this function in the API playground.
Planyo has a new Terms of Service and Privacy Policy, effective May 25, 2018. By using Planyo on or after this date you agree to the new conditions (the only change being GDPR compliance).