---
title: "Updates a Family situation"
method: PUT
path: "/api/2026-10-01/resources/payroll/family_situations/{id}"
tags: ["Payroll > FamilySituation"]
---

# Updates 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: one of:
  - OAuth 2
    - Authorization code: `https://id.factorialhr.com/oauth/authorize`
    - Token URL: `https://id.factorialhr.com/api/oauth/token` scopes: `payroll`
  - API key in header `x-api-key`

Update a family situation.

## Path parameters

- `id` string, required

## Request body

- object
  - `id` string, required: Family situation id.
  - `employee_id` string, required: Employee id.
  - `civil_status` 'single' | 'cohabitating' | 'divorced' | 'married' | 'unknown' | 'civil_partnership' | 'separated' | 'widow' | 'not_applicable': Civil status of the employee.
  - `number_of_dependants` integer: Number of dependants of the employee.

## Response `200`

OK

- PayrollFamilySituation
  - `id` string, required: ID of the family situation.
  - `employee_id` string, 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_dependants` integer: Number of dependants of the employee.

## Changes

- **2026-11-03** `83ac9aa1de50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factorialhr/apis/factorial-api/changes/api/2026-10-01/resources/payroll/family_situations/:id/put.md)

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
