API Playground - add_custom_product

add_custom_product


Use this function to add a new custom product to a reservation. Note that custom products are different from regular additional products in that they have no fixed definition. Each time they are added the name and price must be specified. As with the additional products, these custom products will also be listed in the invoice. (click for full documentation)

name

Name of the new custom product

price

Product price (0 if free)

reservation_id

Reservation ID to which the product is being added (your latest reservations were: )

tax_rate

Tax rate (in percent)

time_added

Optionally you can set the time when the product was added to the reservation

custom

A custom value assigned to this product. E.g. your organization product number, or tax id.

recalculate_price

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

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

* - Pflichtfeld