Ecommerce Shopify WordPress Discussion

How to fetch Shopify Product feed with collections?

Is it possible to fetch all products with the associated collection using shopify-api-node npm package? I can fetch all the products, but the collection is missing. I have 1000 products, and I don't want to call collection API one by one by product ID. I am looking for any way to get products and associate collections. or Get all the collections. (I can download collect, not collections) Thank you.
To fetch a product feed with collections from Shopify, you can use the Shopify Admin API. This API enables you to make authenticated calls to the Shopify server and obtain various data, such as products and collections. To do this, you can make a call to the products endpoint and include the "collection" parameter in the query. This will ensure that the collection data is included in the response for each product. An example of this call can be made using the shopify-api-node npm package.

December 30, 2023

You can simply do shopify.collectionListing .list() .then((collections) => console.log(collections)) .catch((err) => console.error(err));

December 30, 2023

TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.