[Python Api] Getting products list by multiple ids

ramonavi
Shopify Partner
1 0 1

Hi! i just wanted to know if there's any way to get a list of products by providing a list of products ids, just like shopify endpoint does: 

Get a specific list of products

GET /admin/products.json?ids=632910392,921728736

but using Python Api

I only found examples with just one id.

Thanks in advance!

 

I have the same question almost 6 years later. Did you find out how?

 

BUMP!

https://www.merchbot.net
0 Likes
deepuj
New Member
1 0 1

This should work :

products = shopify.Product.find(ids ="6576923869336,6574460436632")


Note : All the ids are coma separated and concatenated into a single string.

I can confirm this works. I tried it willy nilly before I saw your answer. Thanks!

https://www.merchbot.net