Attribute Object
Custom attribute of a product. Attributes can be assigned to products and variants at the product type level.
Fields
#
availableInGrid
Boolean !
Non-null
Whether the attribute can be displayed in the admin product list.
externalId
externalSource
inputType
Non-null
The input type to use for entering attribute values in the dashboard.
metadata
[ MetadataItem !]!
Non-null
List of public metadata items. Can be accessed without permissions.
privateMetadata
[ MetadataItem !]!
Non-null
List of private metadata items.Requires proper staff permissions to access.
storefrontSearchPosition
Int !
Non-null
The position of the attribute in the storefront navigation (0 by default).
visibleInStorefront
Boolean !
Non-null
Whether the attribute should be visible or not in storefront.
Interfaces
#
Also implements Node , ObjectWithMetadata .
Usages
#
References
#
- Field attribute from Query
- Field attribute from SelectedAttribute
- Field variantAttributes from ProductType