Add Packaged Item to Booking
in Developers
Hello,
We are currently trying to dynamically update a booking based on a parameter in one of our bookings.
I've created a "guides" item and it is packaged into one of our events.
For every X amount of people in a booking, we require 1 guide.
I can handle the query and math on my end, I am just checking to see if I can add a packaged item to a booking while updating it through the API.
Thanks!
Tristan.
We are currently trying to dynamically update a booking based on a parameter in one of our bookings.
I've created a "guides" item and it is packaged into one of our events.
For every X amount of people in a booking, we require 1 guide.
I can handle the query and math on my end, I am just checking to see if I can add a packaged item to a booking while updating it through the API.
Thanks!
Tristan.
Comments
The latter option is reliant on the parent item's parameters (which might be mapped if there are different types), while simple priced items can have any free quantity. You can, of course, always just add the item separately where neither package option is ideal.
As far as updating existing bookings, the API isn't currently capable of adding new items to existing bookings, although it is something that has been planned for addition.