Add items to a booking session (cart)
checkfront_add_to_booking_sessionStart or modify a booking session: add one or more SLIPs (from a rated checkfront_get_item / checkfront_list_items call), replace a line with a new SLIP (line_id + slip), or alter lines (quantity, 'remove', 'optin'/'optout' for package add-ons). Holds the inventory while the session is open; NOTHING is booked until checkfront_create_booking. Returns the session_id to reuse. Checkfront: POST /api/3.0/booking/session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slip | No | One or more SLIP strings to add, e.g. ["18.20171005X1-adults.1-children.0"]. | |
| alter | No | Changes keyed by line_id, e.g. {"3": 5, "2.1": "optin", "1": "remove"} (a number sets the quantity). | |
| line_id | No | With a single slip: the session line to REPLACE with it (to change a regular item's options). | |
| session_id | No | Existing session to modify. Omit to start a new session. |