---
title: "Create an attribute"
method: POST
path: "/v3/merchants/{mId}/attributes"
tags: ["INVENTORY"]
---

# Create an attribute

`POST /v3/merchants/{mId}/attributes`

## Path parameters

- `mId` string, required

## Query parameters

- `expand` string

## Headers

- `User-Agent` string, required

## Request body

- object
  - `id` string — Unique identifier
  - `name` string, required — Name of this attribute
  - `itemGroup` object, required — The item group this attribute belongs to
    - `id` string — Unique identifier.
  - `options` object[] — Options associated with this attribute
    - `id` string — Unique identifier
    - `name` string, required — Name of the option
    - `attribute` object
      - `id` string — Unique identifier.
    - `items` object[] — Items associated with this option
      - `id` string — Unique identifier.

## Response `200`

---

[API](https://skmtc.net/clover/apis/platform-api.md) · [All operations](https://skmtc.net/clover/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clover/platform-api/versions/08da265101a3/schema)
