Attribute
Kind: Object
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
id |
ID! |
|
name |
String! |
|
slug |
String! |
|
inputType |
AttributeInputType! |
DROPDOWN, SWATCH, DATE or FILE. |
variantSelection |
Boolean! |
Storefronts should render this VARIANT attribute as a picker (finish swatches, size selector). |
section |
String! |
Spec-table heading to group this row under (e.g. ‘Dimensions’). Empty string for ungrouped. |
unitLabel |
String! |
Unit suffix for values, e.g. ‘cm’ or ‘kg’. Empty if none. |
values |
[AttributeValue!]! |