---
title: "Attribute update."
method: PATCH
path: "/rest/api/warehouse/attribute/"
tags: ["Warehouse"]
---

# Attribute update.

`PATCH /rest/api/warehouse/attribute/`

## Request body

- RestAttributesDTO2
  - `attributes` RestAttributeDTO3[], required — Attribute items list
    - `id` integer — Internal attribute ID
    - `name` string, required — Name of attribute
    - `attributeFeatures` RestAttributeFeatureDTO3[] — Attribute Features
      - `id` integer, nullable — Internal attribute feature ID
      - `value` string, required — Value

## Response `200`

Attributes update correctly

- RestAttributesDTO2
  - `attributes` RestAttributeDTO3[], required — Attribute items list
    - `id` integer — Internal attribute ID
    - `name` string, required — Name of attribute
    - `attributeFeatures` RestAttributeFeatureDTO3[] — Attribute Features
      - `id` integer, nullable — Internal attribute feature ID
      - `value` string, required — Value

## Other responses

- `401` — Authorization failed
- `422` — Validation error

---

[API](https://skmtc.dev/apilo/apis/apilo-rest-api.md) · [All operations](https://skmtc.dev/apilo/apis/apilo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apilo/apilo-rest-api/revisions/a0f9dcdba6cc/schema)
