Can I fetch product organization details from the shopify latest API?
Hi TRUECLASSIC,
Yes, Shopify’s GraphQL Admin API provides the ability to fetch product organization details, via the productCategory field and the productType field.
Here’s an example of how you would fetch this data:
query {
product(id: "gid://shopify/Product/1") {
productType
productCategory
}
}
In the example above, replace gid://shopify/Product/1
with the ID of the product you want to fetch.
Hope this helps!