Schema Documentation

ProductAttribute

Description

Product attribute object

Fields
Field NameDescription
attributeId - Int! Attribute ID
id - ID! Attribute Global ID
label - String Attribute label
name - String Attribute name
options - [String] Attribute options
position - Int Attribute position
scope - ProductAttributeTypesEnum! Product attribute scope.
variation - Boolean Is attribute on product variation
visible - Boolean Is attribute visible
Possible Types
ProductAttribute Types

GlobalProductAttribute

LocalProductAttribute

Example
{"attributeId":987,"id":4,"label":"abc123","name":"xyz789","options":["xyz789"],"position":987,"scope":"GLOBAL","variation":true,"visible":true}