The products api allows you to specify the fields you want to return in the output. I need product id, product handle, and variant sku(s).
https://YOURSTORE.myshopify.com/admin/products.json?fields=id,handle,variants returns product id, product handle, and ALL of the variant fields.
How do I get just the variant SKU? I tried
variants.sku, variants[1].sku, variants{sku}, variants_sku, etc.. no luck!
Thanks!
R