I need to return the tags associated for each product for each order. I am able to get back information about the order, but the product is always null. What am I missing?
{
orders(first: 10) {
edges {
node {
currencyCode
lineItems(first: 10) {
edges {
node {
title
id
product {
id
tags
}
}
}
}
}
}
}
}
{
"data": {
"orders": {
"edges": [
{
"node": {
"currencyCode": "CAD",
"lineItems": {
"edges": [
{
"node": {
"title": "morning field",
"id": "gid://shopify/LineItem/9688099127501",
"product": null
}
}
]
}
}
}
]
}
},
"extensions": {
"cost": {
"requestedQueryCost": 232,
"actualQueryCost": 7,
"throttleStatus": {
"maximumAvailable": 1000,
"currentlyAvailable": 993,
"restoreRate": 50
}
}
}
}