Get products with their collections (categories)

Hi there,

I want to list all of my products with related collections (categories) by using Product API.
Is there any way to do it except calling GET /admin/api/2019-04/custom_collections.json?product_id=product_id endpoint by each product?

Thank you!
Marina

Hi Marina,

You can filter Product API results by collection ID, for example : /admin/api/2019-04/products.json?collection_id=15192301

I think you’ll find that’s a much more efficient way to get the results you’re looking for.