Menu
Patch Family By Code
Update/create a family
PATCH
/api/rest/v1/families/{code}Use it in a workflow
- Add a step and choose the Akeneo connector.
- Pick the Patch Family By Code action (under Family).
- Fill in the fields below, then reference the result from later steps as
{{patchFamilyByCode.response.data}}.
Request
Path parameters
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"code": "camcorders",
"attribute_as_label": "short_description",
"attribute_as_image": "picture",
"attributes": [
"sku",
"name",
"description",
"price",
"color",
"picture"
],
"attribute_requirements": {
"ecommerce": [
"sku",
"name",
"description",
"price",
"color"
],
"tablet": [
"sku",
"name",
"description",
"price"
]
},
"labels": {
"en_US": "Caps",
"fr_FR": "Casquettes"
},
"parent": "clothing"
}
Response
Returns 201 with a any. Read it in later steps with {{patchFamilyByCode.response.data.<field>}}.
Need more? See the Akeneo guide for connection setup and behaviour shared by every action.
Was this page helpful?