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?
You could try fetching it the other way around by trying to fetch the Collection ID's holding Products this way - hope that helps!