Hi,> > Products in my Shopify store will have its product type set right. I want to know the consolidated lists of product type available in my Shopify store?? Do we have this product type retrieving support in Admin Rest API/ Graph QL??> > Thanks in Advance.
Hi Maviswa,
You should be able to query the products resource and specify the productType field, like:
query {
products(first: 100) {
edges {
node {
productType
}
}
}
}
Depending on how many products/ types you may need to set up pagination, and depending on how you want to present the product types you may need to parse or filter the results.