Trouble getting product images from a list of products from node api library

New Member
2 0 0

I'm trying to get the images from a specific set of IDs using the official shopify api node and I can't figure out the syntax. The github says: 

  • list([params])

How does that correspond to this? GET /admin/api/#{api_version}/products.json?ids=632910392,921728736


I'm using this api:


As a bonus what is this notation called that the api is being documented with? I can't find any explanation of this style of argument notation example: count(productId[, params]) ?


This is my code:

            ids: lineItemIds.toString(),
            fields: 'id,images,handle'
New Member
3 0 0

The Shopify API lets you do the following with the Product Image resource. More detailed versions of these general actions may be available:

Have you tried an external network request library like fetch() or node-fetch to get the data from the Shopify API server,

Although you can directly use Shopify API functions to fetch all the data in some cases for debugging, you should try this.

By doing this, you will get the response json response and analyze the response.

I hope this helps.

Best Regards,