Schema Documentation

GlobalProductAttribute

Description

A product attribute object

Fields
Field NameDescription
attributeId - Int! Attribute ID
id - ID! Attribute Global ID
label - String Attribute label
name - String Product attribute name
options - [String] Attribute options
position - Int Attribute position
scope - ProductAttributeTypesEnum! Product attribute scope.
slug - String Product attribute slug
terms - GlobalProductAttributeToTermNodeConnection Connection between the GlobalProductAttribute type and the TermNode type
Arguments
first - Int

The number of items to return after the referenced "after" cursor

last - Int

The number of items to return before the referenced "before" cursor

after - String

Cursor used along with the "first" argument to reference where in the dataset to get data

before - String

Cursor used along with the "last" argument to reference where in the dataset to get data

where - GlobalProductAttributeToTermNodeConnectionWhereArgs

Arguments for filtering the connection

variation - Boolean Is attribute on product variation
visible - Boolean Is attribute visible
Example
{"attributeId":123,"id":4,"label":"abc123","name":"xyz789","options":["xyz789"],"position":123,"scope":"GLOBAL","slug":"abc123","terms":GlobalProductAttributeToTermNodeConnection,"variation":false,"visible":true}