Retrieve Variants from Collection

Solved
Highlighted
New Member
4 0 0

I have been looking at the GraphQL API and Rest API and can't seem to find a way to have a single call get the number of variants from list of collections IDs that I have.

I can retrieve information by getting the products from the collection IDs using the REST API I have and retrieve the variants from there.

0 Likes
Highlighted
Explorer
48 2 8

This is an accepted solution.

Not much help, but when I did it, this is what I did - product, then with product id get variants

Highlighted
New Member
4 0 0

Thanks @GrantDB. This is at least a confirmation that it might be the only way to do it.

0 Likes