---
title: "Update/create several assets"
method: PATCH
path: "/api/rest/v1/asset-families/{asset_family_code}/assets"
tags: ["Asset"]
---

# Update/create several assets

`PATCH /api/rest/v1/asset-families/{asset_family_code}/assets`

## Request

- Base URL: `http://demo.akeneo.com`
- URL: `http://demo.akeneo.com/api/rest/v1/asset-families/{asset_family_code}/assets`
- Auth: none declared

This endpoint allows you to update and/or create several assets of one given asset family at once. Learn more about the <a href="/documentation/update.html#patch-asset-attribute-values">Update behavior</a>. Note that if the asset does not already exist for the given asset family, it creates it. This endpoint is case sensitive on the asset family code.

## Path parameters

- `asset_family_code` string, required

## Request body

- object[]
  - `code` string, required: Code of the asset
  - `asset_family_code` string: Code of the asset family
  - `values` object: Asset attributes values, see the <a href='/concepts/asset-manager.html#focus-on-the-asset-values'>Focus on the asset values</a> section for more details.
  - `created` string, dateTime: Date of creation
  - `updated` string, dateTime: Date of the last update

## Response `200`

OK

- object[]
  - `code` string: Resource code
  - `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

- `400`: Bad request
- `401`: Authentication required
- `413`: Request Entity Too Large
- `415`: Unsupported Media type

---

[API](https://skmtc.dev/akeneo/apis/akeneo-pim-rest-api.md) - [All operations](https://skmtc.dev/akeneo/apis/akeneo-pim-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akeneo/apis/akeneo-pim-rest-api/revisions/d8bda9b93b59?raw)
