##Available queries
| Associated query | Returns multiple results |
|---|---|
| Product | |
| Products | ✔️ |
##Available fields
| Label | Type | Note | Null |
|---|---|---|---|
| brand | Brand | The product's brand | ✔️ |
| changed | Date | The date of the product's last modification | |
| country_of_origin | String | The origin country of the product | ✔️ |
| created | Date | The date of the product's creation | |
| description | string | The product's description | ✔️ |
| id | integer | The id of the product | |
| label | string | The product's name | |
| options | Options | The product's options (colors, materials, size, ...) | ✔️ |
| seasons | Seasons | The products season | ✔️ |
| sku | string | The product's sku | ✔️ |
| supplier | Supplier | The product's supplier | ✔️ |
| supplier_description | string | The supplier's description | ✔️ |
| tags | Product tags | The product's tags | ✔️ |
| user | User | The user who created this product | |
| variants | Variants | The variants available for this product, each having different options |
##Example of a query
query{
Products{
edges{
node{
brand{
label
}
changed
country_of_origin
created
description
id
label
options{
edges{
node{
label
}
}
}
seasons{
edges{
node{
label
}
}
}
supplier{
label
}
supplier_description
sku
tags{
edges{
node{
label
}
}
}
user{
display_name
}
variants{
edges{
node{
label
}
}
}
}
}
}
}