Family
Update/create a family
This endpoint allows you to update a given family. Know more about <a href="/documentation/update.html#update-behavior">Update behavior</a>. Note that if no family exists for the given code, it creates it.
patch/api/rest/v1/families/{code}
Request
- Base URLhttp://demo.akeneo.com
- Authnone declared
Path parameters
codestring required
Code of the resource
Request body
Example request
{
"code": "caps",
"attributes": [
"sku",
"name",
"description",
"price",
"color",
"picture"
],
"attribute_as_label": "name",
"attribute_as_image": "picture",
"attribute_requirements": {
"ecommerce": [
"sku",
"name",
"description",
"price",
"color"
],
"tablet": [
"sku",
"name",
"description",
"price"
]
},
"labels": {
"en_US": "Caps",
"fr_FR": "Casquettes"
}
}Response
Created
Changes
No recorded changes to this operation across all 70 revisions of this API.