I am using Shopify admin REST API to fetch the products available. But there is no particular category Id available to segment products. There is a tag field but not every product has a tag available.
Which field/API should I use to find which type of product a product is?