Skip to main content
POST
/
product-attribute-groups
Create Product Attribute Group
curl --request POST \
  --url https://api.fabric.inc/v3/product-attribute-groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Dimensions",
  "description": "Item dimensions",
  "priority": 1,
  "attributes": [
    {
      "attributeId": "5f328bf0b5f328bf0b5f328b",
      "isReadOnly": true
    }
  ]
}'
{
  "id": "59328bf0b5f328bf0b5f3288",
  "name": "Dimensions",
  "description": "Dimensions of a product",
  "priority": 1,
  "attributes": [
    {
      "attributeId": "33328bf0b5f328bf0b5f3288",
      "name": "color",
      "type": "TEXT",
      "localizedProperties": {
        "en-US": {
          "name": "color"
        },
        "en-IN": {
          "name": "colour"
        }
      },
      "isLocalizable": true,
      "isReadOnly": true
    }
  ],
  "attributeCount": 20,
  "updatedBy": "test@email.com",
  "createdAt": "2021-04-20T10:24:36.162Z",
  "updatedAt": "2021-04-20T10:24:36.162Z"
}

Authorizations

Authorization
string
header
required

Headers

x-fabric-tenant-id
string
Example:
x-fabric-request-id
string
Example:

Body

application/json
name
string
required
Example:
description
string
Example:
priority
integer
Example:
attributes
object[]
Minimum length: 1

Response

id
string
Example:
name
string
Example:
description
string
Example:
priority
integer
Example:
attributes
object[]
attributeCount
integer
Example:
updatedBy
string
Example:
createdAt
string
Example:
updatedAt
string
Example: