book_class
Preview and book a Wellpass fitness class with a two-step flow: confirm=false returns details and cancellation window; confirm=true finalizes after user agreement.
Instructions
Book the user into a class. TWO-STEP and WRITES to the real account.
Step 1 (confirm=false, default): returns the class details and cancellation window and does NOT book. Relay this to the user. Step 2 (confirm=true): actually books. Only send confirm=true AFTER the user has explicitly agreed to book this specific class.
Args: club_uuid: The class's club_uuid (from a search result). class_id: The class id (from a search result). confirm: Must be true to actually book. Default false (preview only). spot: Optional spot id, for studios with spot selection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spot | No | ||
| confirm | No | ||
| class_id | Yes | ||
| club_uuid | Yes |