Place a Jewish Museum Berlin ticket order
Place the order for the basket filled with add_to_cart, as the booker given with fill_booking_details, on the official Jewish Museum Berlin ticket shop. With dryRun true (the default) it opens the basket, checks that the order can be placed, and stops before the final "place your binding order" step; nothing is ordered. With dryRun false it places the order, which is binding, and the shop emails the tickets; this is only done for a basket whose total is 0, so the script never pays. Returns the basket lines, the total, whether the order was placed, and the order id and the confirmation page the shop gives. An empty basket, or a browser without booking details, fails with an error that names the script to run first.
Input
dryRun optionalStop before the final step. false places a binding order, for a free basket only.
Default: truelanguage optionalOutput
lines requiredtotal requiredordered requiredreadyToOrder requiredorderId optionalconfirmationUrl optionalFAQ
Check Jewish Museum Berlin ticket availability
For one visit date on the official Jewish Museum Berlin ticket shop, list the entry time slots of one ticket type (adults by default) for one exhibition (the core exhibition by default), with the places left and the slot's total places, plus every ticket type sold for that exhibition that day with its price in euros and the most one order can hold. A day that is not on sale (in the past, too far ahead, or closed) returns no slots and a reason.
Cancel a free Jewish Museum Berlin order
Cancel a free order placed on the official Jewish Museum Berlin ticket shop, from the order link in its booking confirmation email. Pass the order number too, to make sure the link opens that order. Returns the order number and cancelled when the shop confirms it, or no_cancel_option when the order page offers no cancellation (an order already cancelled, or a paid order, which the museum's terms do not let a visitor cancel). Cancelling cannot be undone, and the tickets go back on sale.
Add Jewish Museum Berlin tickets to the basket
Put tickets for one date and one entry slot in the basket of the official Jewish Museum Berlin ticket shop, with a quantity per ticket type (adults, under age of 18). Take the slot and the ticket types from check_availability: a slot is its time (HH:MM) or its startsAt value, a ticket type is its id or a part of its title. Returns the basket lines (ticket, slot, quantity, unit price, line total) and the total in euros. The basket lives in this browser: tickets already in it stay, unless emptyBasketFirst is true. Nothing is booked until complete_booking places the order. A slot with too few places, an unknown slot or ticket type, or a quantity above the most one order can hold fails with an error that names the valid values.
