---
title: "Create a new AttributeGroup"
method: POST
path: "/attribute-groups"
tags: ["Data Model"]
---

# Create a new AttributeGroup

`POST /attribute-groups`

Creates a EavAttributeGroup resource.

## Request body

- EavAttributeGroupAttributeGroupInputAttributeGroupInputCreate
  - `id` string
  - `parent` EmbedAttributeGroupAttributeGroupInputCreate
    - `id` string
  - `name` LanguageTranslation — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string

## Response `201`

EavAttributeGroup resource created

- EavAttributeGroupAttributeGroupOutputAttributeGroupOutput
  - `parent` EmbedAttributeGroupAttributeGroupOutput
    - `id` string
  - `name` LanguageTranslation — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string
  - `dateCreated` string, date-time, nullable
  - `dateModified` string, date-time, nullable
  - `createdBy` UserUserOutputAttributeGroupOutput
    - `id` integer
  - `updatedBy` UserUserOutputAttributeGroupOutput
    - `id` integer
  - `id` string — This is the unique identifier of the resource
  - `legacyId` integer

## Other responses

- `400` — Invalid input
- `422` — Unprocessable entity

---

[API](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5.md) · [All operations](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quable/quable-pim-api-documentation-v5/versions/1641096abb34/schema)
