Scenario:
I have a ProductOption GUID (e.g. gid://shopify/ProductOption/…) and I want to find the Product it belongs to.
I can query the ProductOption just fine…
query ($id: ID!) {
node(id: $id) {
id
... on ProductOption {
id
position
name
}
}
}
But there seems to be no method traverse the graph to the parent Product object?
So, my question is: how do I get the parent Product object, for a ProductOption ?