API - Planyo Web Services - get_reservation_products

Estás aquí: Planyo » Ayuda » API » get_reservation_products

get_reservation_products

Description:

This method returns detailed information about the additional products reserved for given reservation ID.

Input:

reservation_id int required
ID of the reservation
method string required
must be set to get_reservation_products
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.

Output:

regular_product_price float
Price to be paid for all standard additional products
regular_products array
A named array of all standard products reserved for the reservation. The array keys are: id, name, unit_price, tax_rate, customer_reservable, recurring, per_person, quantity, usage_time
custom_products array
A named array of all custom products reserved for the reservation. The array keys are: id, name, price, tax_rate

API playground:

Click here to test this function in the API playground.