SubAttribute if none exists yet). Authentication: requires ROLE_MANUFACTURER_ADMIN. All body fields are optional — the server only updates the fields actually provided (isset checks per field). External IDs (external_id, external_id2) update the ServiceProviderAttribute mapping; category_id re-links the attribute to a different AttributeCategory (or detaches if empty).{
"name": "Color (DE)",
"sort": 2,
"category_id": "5117a596-fd4f-4fba-a27e-5affde564b2c",
"attribute_style": "list",
"sort_type": 1,
"external_id": "color"
}{
"jsonapi": {
"version": "1.0"
},
"data": {
"type": "attributes",
"id": "0e2e958e-ea2c-45e6-b1f0-b0d383b5cecb",
"attributes": {
"name": "Farbe",
"original_name": "Farbe",
"sort": 1,
"description": null,
"key": "color",
"category": "none",
"attribute_category": {
"type": "attribute_categories",
"id": "5117a596-fd4f-4fba-a27e-5affde564b2c",
"attributes": {
"name": "none",
"sort": 0,
"key": "none"
}
},
"sort_type": 1,
"field_type": "single",
"attribute_style": "normal",
"attribute_type": "other",
"base_url": ""
},
"relationships": {
"options": {
"data": [
{
"type": "options",
"id": "7fff7f85-1869-43d3-a831-8ac14d77aea5"
},
{
"type": "options",
"id": "17d3f17e-67c3-4a85-97aa-db614caba671"
}
]
}
}
}
}