Set booking guest details
bk_cart_guestAttach the lead guest's contact details to the Bookeasy cart. Bookeasy requires a name and email to issue a booking. For a signed-in customer, any of first_name / surname / email you omit are prefilled from their account — so you can call this with just the session_key and confirm the prefilled details with them, or pass explicit values to override. Call once the cart has items and before bk_cart_checkout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Guest email (booking confirmation goes here) | ||
| phone | No | Optional contact phone | |
| surname | Yes | Guest surname | |
| first_name | Yes | Guest first name | |
| session_key | Yes | The cart session key |