curl --request PUT \
--url https://api.vitablehealth.com/v1/company-members/{company_member_id} \
--header 'Content-Type: application/json' \
--header 'X-Partner-API-Key: <api-key>' \
--data '
{
"first_name": "<string>",
"last_name": "<string>",
"email": "[email protected]",
"employee_id": "<string>",
"hire_date": "2023-12-25",
"employment_status": "Active",
"employee_class": "Full Time"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_active_in": true,
"created": "2023-11-07T05:31:56Z",
"benefit_eligibility_start_date": "2023-11-07T05:31:56Z",
"enrolled_in_benefits_in": true,
"member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"address": {
"street_address": "<string>",
"city": "<string>",
"state": "<string>",
"zip_code": "<string>"
},
"address_str_format": "<string>",
"first_name": "<string>",
"full_name": "<string>",
"date_of_birth": "2023-12-25",
"email": "<string>",
"age": 123,
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_name": "<string>",
"hris_id": "<string>",
"type": "Employee",
"active_in": true,
"employee_class": "Full Time",
"employee_start_date": "2023-12-25",
"employee_compensation_type": "Salary",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"middle_name": "<string>",
"last_name": "<string>",
"suffix": "Sr",
"sex": "Male",
"gender": "Male",
"phone_number": "<string>",
"phone": "<string>",
"profile_picture_url": "<string>",
"preferred_language": "en",
"public_company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"individual_income_in_cents": 123,
"household_income_in_cents": 123,
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"tag_color": "<string>",
"description": "<string>"
}
]
}
}Update employee demographic and employment information. Commonly used when payroll providers receive updates from HRIS systems.
curl --request PUT \
--url https://api.vitablehealth.com/v1/company-members/{company_member_id} \
--header 'Content-Type: application/json' \
--header 'X-Partner-API-Key: <api-key>' \
--data '
{
"first_name": "<string>",
"last_name": "<string>",
"email": "[email protected]",
"employee_id": "<string>",
"hire_date": "2023-12-25",
"employment_status": "Active",
"employee_class": "Full Time"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_active_in": true,
"created": "2023-11-07T05:31:56Z",
"benefit_eligibility_start_date": "2023-11-07T05:31:56Z",
"enrolled_in_benefits_in": true,
"member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"address": {
"street_address": "<string>",
"city": "<string>",
"state": "<string>",
"zip_code": "<string>"
},
"address_str_format": "<string>",
"first_name": "<string>",
"full_name": "<string>",
"date_of_birth": "2023-12-25",
"email": "<string>",
"age": 123,
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_name": "<string>",
"hris_id": "<string>",
"type": "Employee",
"active_in": true,
"employee_class": "Full Time",
"employee_start_date": "2023-12-25",
"employee_compensation_type": "Salary",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"middle_name": "<string>",
"last_name": "<string>",
"suffix": "Sr",
"sex": "Male",
"gender": "Male",
"phone_number": "<string>",
"phone": "<string>",
"profile_picture_url": "<string>",
"preferred_language": "en",
"public_company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"individual_income_in_cents": 123,
"household_income_in_cents": 123,
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"tag_color": "<string>",
"description": "<string>"
}
]
}
}Partner API key for external integrations
Unique identifier for the company member
Employee first name
Employee last name
Employee email address
External employee ID from HRIS
Employee hire date
Current employment status
Active, Terminated, Leave of Absence Employment classification
Full Time, Part Time, Temporary, Intern, Seasonal, Individual Contractor Updated company member details
Show child attributes
Unique identifier for the company member
Indicates whether the company is active
Record creation timestamp
Date when benefit eligibility starts
Whether enrolled in any active company benefits
Associated member ID
Formatted address string
Employee first name
Employee full name
Employee date of birth
Employee email address
Employee age
Company identifier
Company name
External HRIS identifier
Type of company member
Employee, Recruit, Youth Indicates whether this company member is active
Employment classification
Full Time, Part Time, Temporary, Intern, Seasonal, Individual Contractor Employee start date
Compensation type
Salary, Hourly Associated user ID
Employee middle name
Employee last name
Name suffix
Sr, Jr, I, II, III, IV, V Employee biological sex
Male, Female, Other, Unknown Employee gender identity
Male, Female, Transgender, Non-binary, Prefer not to respond Employee phone number
Employee phone (alternative field)
URL to profile picture
Employee preferred language
en, es, zh, ru, sw, th Public company identifier
Individual income in cents
Household income in cents
Associated tags