Schema Documentation
GlobalProductAttribute
Description
A product attribute object
Fields
Field Name | Description |
---|---|
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
| |
variation -
Boolean | Is attribute on product variation |
visible -
Boolean | Is attribute visible |
Example
{"attributeId":987,"id":"4","label":"abc123","name":"abc123","options":["abc123"],"position":123,"scope":"GLOBAL","slug":"xyz789","terms":GlobalProductAttributeToTermNodeConnection,"variation":true,"visible":true}