API - Planyo Web Services - remove_custom_product

You are here: Planyo » Help » API » remove_custom_product

remove_custom_product

Description:

Removes an existing custom product. You can get the custom product ID from the calls to either add_custom_product or get_reservation_products

Input:

id int required
Custom product ID.
reservation_id int required
ID of the reservation the product to be removed belongs to.
recalculate_price bool optional
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 removed.
method string required
must be set to remove_custom_product
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:

none

API playground:

Click here to test this function in the API playground.