Conversations about creating, managing, and using metafields to store and retrieve custom data for apps and themes.
I am needing to update the metafield values on my Company objects within my shopify app. Is there a way to do this using the GraphQL Admin API similar to updating the metafields on a Customer? Thanks
Solved! Go to the solution
This is an accepted solution.
Hi Mwood11,
You should be able to use the metafieldsSet mutation to update the value of any metafield whether it's associated with a product or in your case a company. Try this out and let us know if you're encountering issues.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hi Mwood11,
You should be able to use the metafieldsSet mutation to update the value of any metafield whether it's associated with a product or in your case a company. Try this out and let us know if you're encountering issues.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Thanks Liam!
Would metafieldSet also work to add metaobject entries to a Metaobject (List) metafield using the metaobject entry ids?