{"title":"TraitCategory - Liquid Object Reference","slug":"trait-category-liquid-object-reference","url":"https://support.storeconnect.com/articles/trait-category-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/trait-category-liquid-object-reference.md","subtitle":null,"summary":"The TraitCategory object defines a category of TraitType. For example, a TraitCategory \u0026quot;Dimensions\u0026quot; containing TraitTypes: Width, Height, Depth.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, TraitCategory, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe TraitCategory object defines a category of TraitType. For example, a TraitCategory \"Dimensions\" containing TraitTypes: Width, Height, Depth.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `id` | String | Returns the unique id for this TraitCategory |\n| `name` | String | Returns the name of the TraitCategory |\n\n## Available on\n\n- [Trait - Liquid Object Reference](trait-liquid-object-reference) — `trait_category`"}