Menu
Get Reference Entity Attribute By Code
Get an attribute of a given reference entity
GET
/api/rest/v1/reference-entities/{reference_entity_code}/attributes/{code}Use it in a workflow
- Add a step and choose the Akeneo connector.
- Pick the Get Reference Entity Attribute By Code action (under Reference entity attribute).
- Fill in the fields below, then reference the result from later steps as
{{getReferenceEntityAttributeByCode.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getReferenceEntityAttributeByCode.response.data.<field>}}.
{
"code": "description",
"type": "text",
"labels": {
"en_US": "The description",
"fr_FR": "La description"
},
"value_per_locale": true,
"value_per_channel": false,
"is_required_for_completeness": true,
"max_characters": 255,
"is_textarea": true,
"is_rich_text_editor": true,
"validation_rule": "none",
"validation_regexp": null,
"allowed_extensions": [
"png",
"jpg"
]
}
Need more? See the Akeneo guide for connection setup and behaviour shared by every action.
Was this page helpful?