Add a client
mindbody_add_clientCreate a new client record (first and last name required; the site may require more — Mindbody reports which). No card or billing data is accepted. Pass test: true to validate only. Mindbody: POST /client/addclient.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City. | |
| test | No | When true, Mindbody validates the request but commits nothing. Use it to dry-run a write. | |
| No | Email address. | ||
| state | No | State / region. | |
| gender | No | Gender, as configured at the site (see the site's genders). | |
| country | No | Country. | |
| last_name | Yes | Last name. | |
| birth_date | No | Date of birth, ISO 8601 (e.g. 1990-04-12). | |
| first_name | Yes | First name. | |
| home_phone | No | Home phone number. | |
| work_phone | No | Work phone number. | |
| is_prospect | No | Mark the client as a prospect (only if the site allows prospects). | |
| middle_name | No | Middle name. | |
| postal_code | No | Postal code. | |
| referred_by | No | How the client was referred (one of the site's referral types). | |
| mobile_phone | No | Mobile phone number. | |
| address_line_1 | No | Street address, line 1. | |
| address_line_2 | No | Street address, line 2. | |
| send_account_emails | No | Opt in/out of account notification emails. | |
| send_schedule_emails | No | Opt in/out of schedule notification emails. | |
| send_promotional_emails | No | Opt in/out of promotional emails. |