A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I'm using this API:
const product = await client.product.fetch(productId);
I saw that in the response object there is no way to get the collection (or collections) id.
Is there an alternative way to fetch it when I'm fetching a product?
Hey @Filippinifra
You could try fetching it the other way around by trying to fetch the Collection ID's holding Products this way - hope that helps!