Is there a way to GET the metafields for a particular product if I have the product ID? Couldn't find it in the docs.
The call you want is shopify.Metafield.find()
>>> shopify.Metafield.find()
[metafield(1), metafield(2), metafield(3)]
You can also pass in filters
>>> shopify.Metafield.find(namespace='myapp')
[metafield(1), metafield(2)]
The Python API has almost zero documentation which makes figuring these things out an exercise in frustration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With