Hello,
I was able to successfully run this in Postman, but in PHP, it is claiming I am missing a required parameter. Only the id is required, so what gives??
query productVariant {
productVariant(id: "gid://shopify/ProductVariant/51370387439897") {
id
price
sku
productVariantComponents(first: 10) {
nodes {
id
quantity
productVariant {
displayName
id
price
sku
storefrontId
taxable
}
}
}
}
}
I have also tried using nodes which everybody else seems to have success with, and I get the same response! it also works fine in Postman but not in my php code.
The same cURL code that I am running here is running elsewhere in my app, with success with many queries and mutations, so I was surprised to run into this issue. I am definitely setting content-type and all that.
Any thoughts? thank you!!
