Payroll > FamilySituation

Updates a Family situation

Changed on

Update a family situation.

put/api/2026-10-01/resources/payroll/family_situations/{id}

Request

  • Base URL
    https://api.factorialhr.com
  • URL
    https://api.factorialhr.com/api/2026-10-01/resources/payroll/family_situations/{id}
  • Auth
    • OAuth 2
      Authorization code: https://id.factorialhr.com/oauth/authorize
      Token URL: https://id.factorialhr.com/api/oauth/token scopes: payroll
    • or API key in header x-api-key

Path parameters

idstring required

Family situation id.

Request body

idstring required

Family situation id.

employee_idstring required

Employee id.

civil_status'single' | 'cohabitating' | 'divorced' | 'married' | 'unknown' | 'civil_partnership' | 'separated' | 'widow' | 'not_applicable'

Civil status of the employee.

number_of_dependantsinteger

Number of dependants of the employee.

Example request

{
  "id": "3",
  "employee_id": "10",
  "civil_status": "married",
  "number_of_dependants": 2
}

Response

OK

idstring required

ID of the family situation.

employee_idstring required

Employee id of the family situation.

civil_status'single' | 'cohabitating' | 'divorced' | 'married' | 'unknown' | 'civil_partnership' | 'separated' | 'widow' | 'not_applicable'

Civil status of the employee.

number_of_dependantsinteger

Number of dependants of the employee.

Example response

{
  "id": "1",
  "employee_id": "5",
  "civil_status": "married",
  "number_of_dependants": 2
}

Changes