younifyd
Menu

Post Attribute Group

Create a new attribute group

POST/api/rest/v1/attribute-groups

Use it in a workflow

  1. Add a step and choose the Akeneo connector.
  2. Pick the Post Attribute Group action (under Attribute group).
  3. Fill in the fields below, then reference the result from later steps as {{postAttributeGroup.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

codestringrequired

Attribute group code

sort_orderinteger

Attribute group order among other attribute groups

Default 0

attributesarray<string>

Attribute codes that compose the attribute group

Default []

labelsobject

Attribute group labels for each locale

Default {}

json
{
  "code": "marketing",
  "sort_order": 2,
  "attributes": [
    "sku",
    "name",
    "description"
  ],
  "labels": {
    "en_US": "Marketing",
    "fr_FR": "Marketing"
  }
}

Response

Returns 201 with a any. Read it in later steps with {{postAttributeGroup.response.data.<field>}}.

Need more? See the Akeneo guide for connection setup and behaviour shared by every action.