API Playground

List all attributes 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 attributes

Return every (non-deleted) attribute available for the active brand.

The response merges three kinds of attributes: fixed static product fields (code, sku, category, family, …), the brand's global and family attributes, and essential attributes. Essential attributes are returned with a cc_ prefix so their norm_name matches the synthetic fields exposed by the entities endpoint. Results are sorted by name.

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

Request Examples

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

Response Example

Success Response
{
  "status": "success",
  "data": [
    { "_id": null, "name": "code", "norm_name": "code", "scope": "static", "type": "text", "families": [] },
    { "_id": null, "name": "category", "norm_name": "cc_category", "scope": "static", "type": "single-select", "families": [] },
    {
      "_id": "65a1f77bcf86cd7994390aa",
      "name": "Color",
      "norm_name": "color",
      "scope": "global",
      "type": "multi-select",
      "families": []
    },
    {
      "_id": "65a1f77bcf86cd7994390bb",
      "name": "Warranty Period",
      "norm_name": "warranty_period",
      "scope": "family",
      "type": "number",
      "number_meta": { "unit": "months" },
      "families": [
        { "id": "65a1f77bcf86cd7994390cc", "name": "Appliances" }
      ]
    }
  ]
}

Response Structure

FieldTypeDescription
_idstring|nullAttribute identifier; null for static fields.
namestringHuman-readable attribute name.
norm_namestringNormalised name used when reading/updating entities. Essential attributes are prefixed with cc_.
scopestringstatic, global, family or essential.
typestringtext, rich-text, number, boolean, single-select, multi-select, media.
number_metaobjectPresent only for number attributes (e.g. unit metadata).
familiesarrayFamilies linked to the attribute, each as { id, name }.