Update an existing family. This playground calls the live API and will modify your data.
Update an existing family by id. Send only the fields you want to change.
PUT https://api.commerceclarity.com/api/2026-05/families/update/{id}| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Required | The family's family_id or Mongo _id. |
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Optional | New family name. |
description | string | Optional | New description. |
is_enabled | boolean | Optional | Enable/disable the family. |
curl -X PUT "https://api.commerceclarity.com/api/2026-05/families/update/electronics" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "name": "Consumer Electronics" }'
{
"status": "success",
"data": {
"_id": "507f1f77bcf86cd799439011",
"name": "Consumer Electronics",
"family_id": "electronics",
"is_enabled": true,
"updated_at": "2026-01-15T11:00:00Z"
}
}{
"status": "error",
"message": "Family not found"
}