Hi @alessandro04 ,
Look at this responses (for Variants images):
- [GET] /admin/api/{api-version}/products.json - in each product u have variants array where each variant has ‘image_id’ field;
- [GET] /admin/api/{api-version}/products/{productId}.json - same case here, u have variants array in current product object where each variant has ‘image_id’ field;
- [GET] /admin/api/{api-version}/variants/{variantId}.json - u can request needed variant and take ‘image_id’ field from here.
Look at this responses (for Product images):
- [GET] /admin/api/{api-version}/products/{productId}.json - here u have images array in Product object.
After u get an ‘image_id’ u can request it from [GET] /admin/api/{api-version}/prodcts/{productId}/images/{imageId}.json
NOTE: To simplify this process, use the GraphQL AdminAPI
I hope this helps. If not, describe the problem in a little more detail, with code examples. ![]()