Get a customer
get_customerRetrieve a single customer's profile, tags, marketing status and bookings. Add contact details and control how many bookings return via optional parameters.
Instructions
One customer by ID: name, tags, marketing opt-in, custom fields and, unless max_bookings is 0, their bookings with the latest start first. Email, mobile, phone and address are only returned with include_contact_details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | Customer ID (24 hexadecimal characters) | |
| max_bookings | No | How many of the customer's bookings to include (0 for none) | |
| include_contact_details | No | Include the customer's email, mobile, phone, address and gender, custom fields that look like contact data, and their question answers on bookings |