Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Product Variants Metafields

Product Variants Metafields

ap123
New Member
10 0 0

How to update all the products variants with metafields?

 

Any examples on how to do that. Documentation does not provide anything. 

Reply 1 (1)

HunkyBill
Shopify Partner
4853 60 571

What have you tried? Admittedly, when they first came out in 2010 or whatever, they were a little murky to work with. But a dozen years later, they are hardly difficult. They are a resource. They have an ID. They belong to another resource, that also has an ID. They have a key, and a value. And that value is a type.

What exactly would you need beyond those basics to function with them? The docs have plenty to say as well, and a brief look at any Shopify API source code, reveals all their methods for working with them in whatever language you choose.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com