Below is a simplified version of the GraphQL I am using to get back details of a test order with the returned data.
The problem is that, unlike other orders, the “customAttributes” array is blank (normally it is filled with _boldVariantIds etc.) which means that there is no link between the ‘Georgian Skirting Board’ and the ‘MDF Finish’ option for it . Is there any expansion of the GraphQL that will show that the item and the option is linked?
GRAPHQL
{
orders(first: 1, sortKey: CREATED_AT, query: "created_at:>'2026-10-14T08:44:00Z'") {
nodes {
id
name
lineItems(first: 20) {
nodes {
id
title
variantTitle
currentQuantity
customAttributes {
key
value
}
variantTitle
sku
variant {
id
displayName
}
lineItemGroup {
id
}
product {
id
}
}
edges {
node {
id
}
}
}
}
}
}
RESULT
{
"data": {
"orders": {
"nodes": [
{
"id": "gid://shopify/Order/******03138426",
"name": "MD******",
"lineItems": {
"nodes": [
{
"id": "gid://shopify/LineItem/******19361658",
"title": "MDF Finish",
"variantTitle": "White Primed",
"currentQuantity": 0,
"customAttributes": [],
"sku": "",
"variant": {
"id": "gid://shopify/ProductVariant/******1537300",
"displayName": "MDF Finish - White Primed"
},
"lineItemGroup": null,
"product": {
"id": "gid://shopify/Product/******598740"
}
},
{
"id": "gid://shopify/LineItem/******19394426",
"title": "Georgian Skirting Board",
"variantTitle": "18mm / 195mm / 4200mm",
"currentQuantity": 5,
"customAttributes": [],
"sku": "",
"variant": {
"id": "gid://shopify/ProductVariant/******63028",
"displayName": "Georgian Skirting Board - 18mm / 195mm / 4200mm"
},
"lineItemGroup": null,
"product": {
"id": "gid://shopify/Product/******41396"
}
}
],
"edges": [
{
"node": {
"id": "gid://shopify/LineItem/******19361658"
}
},
{
"node": {
"id": "gid://shopify/LineItem/******19394426"
}
}
]
}
}
]
}
}
}