I’m having trouble with
fetching Category related info in Catalog V3 API.
What I’m trying to do
I’m working on Catalog V3 API and I’m using V3 API to fetch my customers Products and Category. I’m using “https://www.wixapis.com/stores/v3/products/query” API to fetch products from store. BUT I’m facing issue regarding category information.
Try Following Code, I don’t have the V3 right now so don’t know if it will work, May you test and let me know if it works though. I will need it for an apps. I have added a log, it should show the products in the dev console in website preview if the code works.
This snippet helps in fetching Products and I’m able to fetch products from the API also. The main issue arise for Categories fetching. I’m not able to fetch categories.