Requesting storeAvailability(first: 1) on a bundle product’s variant in a Storefront API query makes the API fail or return no products.
query Product {
product(id: “gid://shopify/Product/7844479205566”) {
id
title
variants(first: 5) {
nodes {
id
title
storeAvailability(first: 1) {
nodes {
available
location { name }
}
}
}
}
}
}
This returns the error
{
“errors”: [
{
“message”: “Internal error. Looks like something went wrong on our end.\nRequest ID: acbbff44-58aa-42a9-9041-a11c3787e900-1770051186 (include this in support requests).”,
“extensions”: {
“code”: “INTERNAL_SERVER_ERROR”,
“requestId”: “acbbff44-58aa-42a9-9041-a11c3787e900-1770051186”
}
}
]
}