younifyd
Menu

Get Attribute Group By Code

Get an attribute group

GET/api/rest/v1/attribute-groups/{code}

Use it in a workflow

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

Request

Path parameters

codestringrequired

This path parameter is used to specify the unique identifier of the entity you want to retrieve or manipulate. It is essential for identifying the specific entity in the API requests. Ensure that the code is correctly formatted and corresponds to an existing entity in the system.

Response

Returns 200 with an object. Read it in later steps with {{getAttributeGroupByCode.response.data.<field>}}.

codestring

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"
  }
}

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