PUT: UPDATE CLIENT
Type:
PUT
Method:
client
Parameter:
(integer)
{client_id}
URL Examples:
https://www.bizstim.com/api/client/505
You can update any of the request body parameters listed below. You DO NOT have to make them all available with your PUT request.
ELEMENT | TYPE | DESCRIPTION |
---|---|---|
first_name |
string | First name for the client |
last_name |
string | Last name for the client |
address1 |
string | Street address for the client |
address2 |
string | Suite or appartment number for the client |
city |
string | City location for the client |
state |
string | State location for the client |
zipcode |
string | Zipcode location for the client |
country |
string | Country location for the client |
p_phone |
string | Primary phone number for the client |
s_phone |
string | Secondary phone number for the client |
text_phone |
string | Text message phone number for the client. Comma separated list of mobile numbers |
latitude |
string | Geogrpahic co-ordinate |
longitude |
string | Geogrpahic co-ordinate |
dob |
string | Date of Birth (YYYY-MM-DD) |
status |
string | active, inactive, prospect |
inactive_date |
string | Date the client was marked inactive (YYYY-MM-DD) |
inactive_set_date |
string | Date the client will be marked inactive (YYYY-MM-DD) |
inactive_reason |
string | The reason for being marked inactive |
inactive_who |
string | First and last name of the user who marked the client inactive |
funnel_id |
integer | Unique id. id on the client_settings table |
calendar_color |
string | hexadecimal color code for the calendar cell color. This is over-rided if the open-closed color scheme is selected for the calendar by the administrator |
start_date |
string | The date the client began services (YYYY-MM-DD) |
notes |
string | Notes for the client |
timezone |
string | IANA time zone format e.g. "America/Los_Angeles" |
send_welcome_message |
integer | 0 = no, 1 = yes |
send_lesson_reminders |
integer | 0 = no, 1 = yes |
add_session |
integer | 0 = no, 1 = yes |
see_practs_information |
integer | 0 = no, 1 = yes |
text_reminders |
integer | 0 = no, 1 = yes |
use_records |
integer | 0 = no, 1 = yes |
session_cancel |
integer | 0 = no, 1 = yes |
ace |
integer | Available credit exception. 0 = no, 1 = yes |
hide costs |
integer | Hide costs from the client. 0 = no, 1 = yes |
username |
string | Username string: not case sensitive. The username must be unique. |
email |
string | String of comma separated emails: e.g. email1@mail.com,email2@mail.com |
dark |
integer | 0 = light mode, 1 = dark mode |
calendar |
integer | 1 = month, 2 = week, 3 = day |
minTime |
string | Default = 08:00:00 |
maxTime |
string | Default = 24:00:00 |
slotDuration |
string | Default = 00:15:00 or 15 minute intervals |
sessionLimit |
integer | Number of sessions to show per day in month view. Default = 10 |
cal_length |
integer | Length of the calendar on the page in pixels. Default = 1200 |
{ "status": "success", "response": "The client record was updated successfully." "code": 6, }
HTTP Response:
ELEMENT | TYPE | DESCRIPTION |
---|---|---|
status |
string | success or failure |
response |
string |
Possible responses are:
|