post https://api.zenoti.com/v1/registrations?provider_id=Gympass
Purpose: The purpose of this API is to register your guests on external providers like Gympass.
You must provide the unique identifier of the external service provider in provider_id. The API will then register the guest on Gympass.
user Object
Name | Type | Description |
---|---|---|
personal_info | object | This object contains the personal information of the guest. |
user_name | string | Username of the guest as mentioned in Gympass. |
first_name | string | First name of the guest. |
last_name | string | Last name of the guest. |
middle_name | string | Middle name of the guest. |
string | Email id of the guest. | |
phone_code | integer | Phone code of the country. |
number | string | Primary phone number of the guest. |
gender | enum | Indicates the gender of the guest. -1 = Not specified, 1 = Male, 0 = Female, 3 = Others |
work_phone | string | Work phone number of the guest. |
home_phone | string | Home phone number of the guest. |
date_of_birth | date | The date of birth of the guest. |
anniversary_date | date | Date and time of the guest's anniversary. |
address_1 | string | Primary address of the guest. |
address_2 | string | Secondary address of the guest. |
city | string | City to which the guest belongs. |
state_id | integer | ID of the state to which the guest belongs. For more information on how to fetch the state IDs of a specific country, refer to the Retrieve the list of all states of a country API. |
zip_code | integer | Zip code of the guest's address. |
country_id | integer | ID of the country to which the guest belongs. For example, the country_id of United States of America is 225. You can use the Retrieve the list of all countries API to fetch country codes (id) and each country's corresponding phone code (phone_code). |