v1
latestSwagger 2.02026-08-06115129197.7 KBClient
Update a client
Update a client
put/clients/{id}
Path parameters
idstring required
Id
Query parameters
ignore_custom_required_fieldsboolean
Skip the required custom fields validations
source_quick_addboolean
Was the client added through a quick add?
id_is_partnerboolean required
true - id is partner_id / false - id is mytime id
first_namestring
First name
last_namestring
Last name
mobile_phonestring
Mobile Phone
work_phonestring
Work Phone
emailstring
can_receive_automated_emailsboolean
Can receive automated emails
can_receive_automated_smsboolean
Can receive automated SMS
can_receive_manual_emailsboolean
Can receive manual emails
can_receive_manual_smsboolean
Can receive manual sms
can_receive_manual_sms_confirmed_atstring date-time
When was can_receive_manual_sms confirmed by double sms opt in
can_receive_automated_sms_confirmed_atstring date-time
When was can_receive_automated_sms confirmed by double sms opt in
contact_preferenceinteger
Contact Preference. Email = 0, Home Phone = 1, Work Phone = 2, Text Message = 3, Mobile Phone = 4
preferred_location_partner_idstring
Preferred location partner id
preferred_location_mytime_idinteger
Preferred location mytime id
associated_location_partner_idsstring[]
Associated location partner id
associated_location_mytime_idsstring[]
Associated location mytime id
add_label_namesstring[]
List of labels to add to the client
remove_label_namesstring[]
List of labels to remove from the client
Headers
X-Subdomainstring
Merchant subdomain - Optional
Request body
Response
Updated
Example response
[
{
"appointments": [
{
"variations": [
{
"price": 120,
"multiplier_base_price": 40,
"price_multiplier": 3
}
]
}
]
}
]