API - Planyo Web Services - move_reservations_to_cart

You are here: Planyo » Help » API » move_reservations_to_cart

move_reservations_to_cart

Description:

Move reservations into a new or existing shopping cart.

Input:

reservation_ids string required
Comma-separated reservation IDs
shopping_cart_id int optional
ID of the shopping cart to which the reservations should be moved. If not set, the reservations will be moved to a new shopping cart.
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:

shopping_cart_id int
ID of the shopping cart. Useful if no cart ID was set in the arguments, in such case this is the newly created cart ID

API playground:

Click here to test this function in the API playground.
Planyo has a new Terms of Service and Privacy Policy, effective May 25, 2018. By using Planyo on or after this date you agree to the new conditions (the only change being GDPR compliance).