Update employment
Changed onUpdates an employment. Use this endpoint to:
- modify employment states for testing
- Backdate employment start dates
This endpoint will respond with a 404 outside of the Sandbox environment.
partner_external_id cannot be updated here and is ignored if sent, like any other unsupported field. Set it with PATCH /api/eor/v1/employments/{employment_id} instead.
For updating an employment's parameters outside of testing purposes, use this Employment update endpoint.
Authentication
This endpoint accepts any one of the following token types:
- Company-scoped access token (OAuth2AuthorizationCode) — obtained by a company manager through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
- Company-scoped access token (assertion) (OAuth2CompanyManagerAssertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant for a company manager. See OAuth Assertion.
- Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page, with the scopes they choose there. See Authorization for customers.
Request
- Base URLhttps://gateway.remote.com
- Auth
- OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/token
- or OAuth 2Client credentialsToken URL/auth/oauth2/token
- or HTTP bearer
Path parameters
Employment ID
Query parameters
When true, returns tax_servicing_countries grouped into global/regions/subregions instead of a flat list of country names.
Headers
An access token of one of the types listed in this endpoint's Authentication section, as Bearer <ACCESS TOKEN>.
A token from the Refresh Token flow is of the same type as the token issued with that refresh token.
Request body
Required params to update an employment in the Sandbox environment.
Currently supports setting the Employment Status to active and backdating the employment start date.
All fields other than the ones listed are ignored.
The current status of the employment record.
- active: The employee is fully onboarded and actively working.
- created: The employment has been created but onboarding has not started.
- pre_hire: A pre-hire employment record, created before formal onboarding begins.
- created_awaiting_reserve: The employment is created but waiting for a risk reserve deposit to be paid.
- created_reserve_paid: The risk reserve has been paid and the employment can proceed with onboarding.
- initiated: Onboarding has been started by the employer.
- invited: The employee has been invited to complete their self-enrollment on Remote.
- pending: The employment is pending review or further action before it can become active.
- review: The employment is under review by Remote (e.g., contract or compliance review).
- job_title_review: The job title is pending verification by Remote; once approved, the employment returns to created.
- pending_post_self_enrollment_actions: Self-enrollment is complete, but some actions are still missing before the employment can be activated.
- archived: The employment has been terminated or offboarded.
- deleted: The employment record has been deleted.
Example request
{
"provisional_start_date": "2024-01-01",
"status": "active"
}Response
Success
Response containing the full employment record after an update operation.
Example response
{
"data": {
"employment": {
"personal_details": {},
"manager_email": "john.doe@company.com",
"provisional_start_date": "2021-07-03",
"address_details": {},
"pricing_plan_details": {
"frequency": "annually"
},
"full_name": "Jane Smith",
"type": "employee",
"employment_lifecycle_stage": "employee_self_enrollment",
"administrative_details": {},
"company_id": "e31adae1-company-id-af5fba7dd803",
"work_address_details": {},
"bill_to_legal_entity_id": "663e0b79-c893-45ff-a1b2-f6dcabc098b5",
"work_email": "jane.smith@company.com",
"status": "created",
"updated_at": "2021-07-15T18:18:17Z",
"basic_information": {},
"job_title": "Engineer",
"id": "20a72f86-employment-id-9e4942a902ff",
"manager": "John Doe",
"login_email": "jane@smith.com",
"employment_model": "eor",
"personal_email": "jane@smith.com",
"country": {
"alpha_2_code": "PT",
"code": "PRT",
"contractor_products_available": [
"standard",
"plus",
"cor"
],
"country_subdivisions": [
{
"code": "PT-06",
"name": "Coimbra",
"subdivision_type": "District"
},
{
"code": "PT-11",
"name": "Lisboa",
"subdivision_type": "District"
}
],
"employment_agreement_preview_available": true,
"eor_onboarding": true,
"global_payroll_supported": true,
"locked_benefits": "after_first_hire",
"name": "Portugal",
"region": "Europe",
"subregion": "Southern Europe",
"supported_json_schemas": [
"additional_documents",
"address_details",
"administrative_details",
"employment-basic-information",
"bank_account_details",
"contract_details",
"emergency_contact"
]
},
"user_status": "active",
"bank_account_details": [],
"files": [],
"engaged_by_legal_entity_id": "663e0b79-c893-45ff-a1b2-f6dcabc098b5",
"billing_address_details": {},
"onboarding_tasks": {
"address_details": {
"description": "Primary residence.",
"status": "completed"
},
"administrative_details": {
"description": "Information we need for tax purposes.",
"status": "completed"
},
"bank_account_details": {
"description": "Bank account used for receiving salary payments.",
"status": "completed"
},
"billing_address_details": {
"description": "Address associated with the employee's bank account.",
"status": "completed"
},
"contract_details": {
"description": "Employee-specific details for their employment agreement.",
"status": "completed"
},
"emergency_contact_details": {
"description": "Who should be called in an emergency.",
"status": "completed"
},
"employment_document_details": {
"description": "We need some additional documents.",
"status": "pending"
},
"personal_details": {
"description": "Personal details, such as name and date of birth.",
"status": "completed"
},
"pricing_plan_details": {
"description": "How often Remote will bill employers for management fees.",
"status": "completed"
}
},
"contract_details": {},
"emergency_contact_details": {},
"eligible_for_onboarding_cancellation": true,
"manager_employment_id": "20a72f86-employment-id-9e4942a902ff",
"created_at": "2021-11-11T18:44:39"
}
}
}Changes
- info
the
messageresponse's property patternNot Foundwas removed for the status
- info
- info
added the optional property
data/employment/requires_engagement_agreement_detailsto the response with the status
- info