You are here: 
Planyo » 
幫助 » 
API » remove_additional_product
remove_additional_product
Removes an existing additional product. 
WARNING: removing a product will also remove its usage from all reservations where the product was used; this operation cannot be undone. The extra parameters (site_id, product_id_md5) are required for verification purposes.
 id int required
Additional product ID.
 site_id int required
ID of the site the product to be removed belongs to.
 product_id_md5 string required
MD5 of the product id. This is here for security reasons, to prevent accidental execution of this function.
 method string required
must be set to 
remove_additional_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.
none
Click here to test this function in the API playground.