Menu
Patch Asset Family Attribute Option By Code
Update/create an asset attribute option for a given asset family
PATCH
/api/rest/v1/asset-families/{asset_family_code}/attributes/{attribute_code}/options/{code}Use it in a workflow
- Add a step and choose the Akeneo connector.
- Pick the Patch Asset Family Attribute Option By Code action (under Asset attribute option).
- Fill in the fields below, then reference the result from later steps as
{{patchAssetFamilyAttributeOptionByCode.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"code": "small",
"labels": {
"en_US": "s",
"fr_FR": "s"
}
}
Response
Returns 201 with a any. Read it in later steps with {{patchAssetFamilyAttributeOptionByCode.response.data.<field>}}.
Need more? See the Akeneo guide for connection setup and behaviour shared by every action.
Was this page helpful?