API Playground - set_reservation_products

set_reservation_products


Use this function to set/reset the usage of all the additional products for given reservation. Existing product usage will be erased (see get_reservation_products if you need to get all products reserved so far). This function will trigger notifications (if configured), web hooks and price recalculation (if requested). (click for full documentation)

reservation_id

ID of the reservation (your latest reservations were: 15559528, 15542533, 15508248, 15420066, 15418182)

product_XXX

Quantity of product with the ID XXX, e.g. product_123=3 would reserve 3 units of product ID 123

product_XXX_TIMESTAMP

Quantity of a recurring product with the ID XXX used on the date determined by the timestamp TIMESTAMP, e.g. product_123_1465862400=1 would reserve 1 unit of product ID 123 for the date 2016-06-14

product_XXX_extra_field

You can add a comment (extra information) for product XXX

recalculate_price

Set to true if you'd like the product reservation to update the total price of the reservation. If set to false (default), then the total price won't change.

send_notifications

If set to true, email/SMS notifications will be sent out (but only if set up for the product modification event).

language

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

* - required field