Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Just curious because I am writing a flow to send an http request to an endpoint to update a metafield on my store but if the "run code" action can do this then it cuts out a lot of extra moving parts.
Solved! Go to the solution
This is an accepted solution.
No, it's right in the docs, see limitations and roadmap section: https://help.shopify.com/en/manual/shopify-flow/reference/actions/run-code#limitations
This is an accepted solution.
No, it's right in the docs, see limitations and roadmap section: https://help.shopify.com/en/manual/shopify-flow/reference/actions/run-code#limitations
That said, why do you need to us that to update a metafield. Flow does have actions for updating metafields.
Thank you for the quick response! Really I am trying to update a field on a metaobject. Based on this post linked below, it looks like it is possible to get metaobject values with the run code. I am doing this now so I can send an http request to an app. I was just wondering if I could just update within run code as well it would have made the process a lot simpler.
https://community.shopify.com/c/shopify-flow-app/any-way-to-the-metaobject-values-into-a-flow/m-p/24...
Ok. I would continue to use Run code to generate the value you want to update and then use Send HTTP Request to update the metaobject.
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024