---
title: "Update/create several families"
method: PATCH
path: "/api/rest/v1/families"
tags: ["Family"]
---

# Update/create several families

`PATCH /api/rest/v1/families`

This endpoint allows you to update and/or create several families at once.

## Request body

- object
  - `code` string, required — Family code
  - `attribute_as_label` string, required — Attribute code used as label
  - `attribute_as_image` string — Attribute code used as the main picture in the user interface (only since v2.0)
  - `attributes` string[] — Attributes codes that compose the family
  - `attribute_requirements` object — Attributes codes of the family that are required for the completeness calculation for each channel
    - `channelCode` string[]
  - `labels` object — Family labels for each locale
    - `localeCode` string — Family label for the locale `localeCode`

## Response `200`

OK

- object
  - `line` integer — Line number
  - `identifier` string — Resource identifier, only filled when the resource is a product
  - `code` string — Resource code, only filled when the resource is not a product
  - `status_code` integer — HTTP status code, see <a href="/documentation/responses.html#client-errors">Client errors</a> to understand the meaning of each code
  - `message` string — Message explaining the error

## Other responses

- `401` — Authentication required
- `403` — Access forbidden
- `413` — Request Entity Too Large
- `415` — Unsupported Media type

---

[API](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api.md) · [All operations](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeneo/akeneo-pim-rest-api/versions/d8bda9b93b59/schema)
