Smart collection question

9 views
Skip to first unread message

Dave

unread,
Mar 2, 2012, 12:30:31 PM3/2/12
to shopify-api
Hi,

I need to quickly determine all the Products in a collection. For
Custom Collections this is easy, I have the Collection ID, so I can
ask the Collect resource for all the rows matching the collection_id
to the ID, and I get all the Products via the product_id.

I cannot do the same for Smart Collections, hence I cannot ask the
question, "What products are present in the Smart Collection with
ID=123456?".

Do you have a suggested way of quickly getting that list of Product
resources in a Smart Collection?

Thanks

Denis Odorcic

unread,
Mar 2, 2012, 1:19:51 PM3/2/12
to shopi...@googlegroups.com
You can pass a collection_id param to Product#index

Denis Odorcic
Developer - Shopify

Dave

unread,
Mar 2, 2012, 1:31:23 PM3/2/12
to shopify-api
Right! Thanks.. I forgot that... oops...


On Mar 2, 1:19 pm, Denis Odorcic <denis.odor...@jadedpixel.com> wrote:
> You can pass a collection_id param to Product#indexhttp://api.shopify.com/product.html#index
Reply all
Reply to author
Forward
0 new messages