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

# Attribute create.

`POST /rest/api/warehouse/attribute/`

## Request body

- RestAttributesDTO
  - `attributes` RestAttributeDTO2[], required — Attribute items list
    - `type` 1 | 2 | 9 | 16 | 17, nullable, required — Attribute type ('1-Text', 2-'boolean', '9-textarea', '16-feature-multi', '17-feature-single')
    - `name` string, required — Name of attribute
    - `attributeFeatures` RestAttributeFeatureDTO2[] — Attribute Features
      - `id` integer, nullable — Internal attribute feature ID
      - `value` string, required — Value

## Response `200`

Nothing to create

- unknown

## Other responses

- `201` — Create attributes correctly
- `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)
