Skip to content
Get started

Update employer

put/v1/employers/{employer_id}

Updates an existing employer's information. All fields are optional - only provided fields will be updated. Note: EIN cannot be changed after creation.

Path ParametersExpand Collapse
employer_id: string
Body ParametersExpand Collapse
active: optional boolean

Whether the employer is active

address: optional object { city, state, street_1, 3 more }

Employer address

city: string

City name

state: string

Two-letter state code

maxLength2
minLength2
street_1: string

Primary street address

zip_code: string

ZIP code

country: optional string

Country code

street_2: optional string

Secondary street address

name: optional string

Employer display name

maxLength255
minLength1
ReturnsExpand Collapse
Employer = object { id, active, created_at, 7 more }

Serializer for Employer entity in public API responses.

Matches EmployerEntity from company module domain.

id: string

Unique employer identifier with 'empr_' prefix

active: boolean

Whether the employer is currently active in the system

created_at: string

Timestamp when the employer was created

formatdate-time
name: string

Display name of the employer

organization_id: string

ID of the parent organization (org_*)

updated_at: string

Timestamp when the employer was last updated

formatdate-time
address: optional object { city, state, street_1, 3 more }

Nested address within EmployerSerializer.

city: string

City name

state: string

Two-letter state code (e.g., CA, NY)

street_1: string

Primary street address

zip_code: string

ZIP code (5 or 9 digit)

country: optional string

Country code (default: US)

street_2: optional string

Secondary street address (apt, suite, etc.)

ein: optional string

Employer Identification Number (masked in responses)

eligibility_policy_id: optional string

ID of the benefit eligibility policy (epol_*), if assigned

Update employer
curl https://api.vitablehealth.com/v1/employers/$EMPLOYER_ID \
    -X PUT \
    -H "Authorization: Bearer $VITABLE_connect_API_API_KEY"
{
  "id": "id",
  "active": true,
  "created_at": "2019-12-27T18:11:19.117Z",
  "legal_name": "legal_name",
  "name": "name",
  "organization_id": "organization_id",
  "updated_at": "2019-12-27T18:11:19.117Z",
  "address": {
    "city": "city",
    "state": "state",
    "street_1": "street_1",
    "zip_code": "zip_code",
    "country": "country",
    "street_2": "street_2"
  },
  "ein": "ein",
  "eligibility_policy_id": "eligibility_policy_id"
}
Returns Examples
{
  "id": "id",
  "active": true,
  "created_at": "2019-12-27T18:11:19.117Z",
  "legal_name": "legal_name",
  "name": "name",
  "organization_id": "organization_id",
  "updated_at": "2019-12-27T18:11:19.117Z",
  "address": {
    "city": "city",
    "state": "state",
    "street_1": "street_1",
    "zip_code": "zip_code",
    "country": "country",
    "street_2": "street_2"
  },
  "ein": "ein",
  "eligibility_policy_id": "eligibility_policy_id"
}