API Playground

List all families for your active brand. This playground calls the live API with your account credentials.

Authentication Required

You need to Login to test the API playground

List families

Return all families defined for the active brand.

Endpoint URL
GET https://api.commerceclarity.com/api/2026-05/families

Request Examples

curl -X GET "https://api.commerceclarity.com/api/2026-05/families" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"

Response Example

Success Response
{
  "status": "success",
  "data": [
    {
      "_id": "507f1f77bcf86cd799439011",
      "name": "Electronics",
      "family_id": "electronics",
      "description": "Electronic devices and accessories",
      "is_enabled": true,
      "user_id": "507f1f77bcf86cd799439010",
      "created_at": "2026-01-15T10:30:00Z",
      "updated_at": "2026-01-15T10:30:00Z"
    }
  ]
}

Response Structure

FieldTypeDescription
_idstringFamily identifier.
namestringFamily name.
family_idstringBrand-unique family key.
descriptionstringFamily description.
is_enabledbooleanWhether the family is active.
created_at / updated_atstringTimestamps.