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

# Product Attribute update.

`PATCH /rest/api/warehouse/product/attributes/`

Update a product attributes

## Request body

- RestProductAttributesDTO2 — This object represents list of a atributes.
  - `attributes` RestProductAttributeDTO3[], required — Product Attribute items list
    - `id` integer, required — Internal Attribute ID
    - `productId` integer, required — Internal Product ID
    - `type` 1 | 2 | 9 | 16 — Attribute type ('1-Text', 2-'boolean', '9-textarea', '16-feature')
    - `values` union[] — Product Attribute Values
      - union
        - RestProductAttributeTextDTO3 — This object represents product Attribute text DTO .
          - `value` string — Value
          - `id` integer — Internal Attribute ID
        - RestProductAttributeTextAreaDTO3 — This object represents product Attribute text area DTO .
          - `value` string — Value
          - `id` integer — Internal Attribute ID
        - RestProductAttributeBooleanDTO3 — This object represents product Attribute text boolean DTO .
          - `value` boolean — Value
          - `id` integer — Internal Attribute ID
        - RestProductAttributeFeatureDTO3
          - `id` integer — Internal Attribute ID

## Response `200`

Product Attributes updated successfully

- RestProductAttributeIndexResponse
  - `attributes` RestProductAttributeDTO3[], required — Product attribute items list
    - `id` integer, required — Internal Attribute ID
    - `productId` integer, required — Internal Product ID
    - `type` 1 | 2 | 9 | 16 — Attribute type ('1-Text', 2-'boolean', '9-textarea', '16-feature')
    - `values` union[] — Product Attribute Values
      - union
        - RestProductAttributeTextDTO3 — This object represents product Attribute text DTO .
          - `value` string — Value
          - `id` integer — Internal Attribute ID
        - RestProductAttributeTextAreaDTO3 — This object represents product Attribute text area DTO .
          - `value` string — Value
          - `id` integer — Internal Attribute ID
        - RestProductAttributeBooleanDTO3 — This object represents product Attribute text boolean DTO .
          - `value` boolean — Value
          - `id` integer — Internal Attribute ID
        - RestProductAttributeFeatureDTO3
          - `id` integer — Internal Attribute ID

## Other responses

- `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)
