I need to require some additional info for a product to be published to my sales channel.
I’m trying to add a new metafield via the API to a product, but it’s returning an error message saying I need to populate the value…but I don’t know the value, I need the merchant to fill that in…Not sure how to handle this?
So, that tutorial isn’t very clear. The UI for editing the metafield value is provided by the sales channel app through the use of Admin Link app extension. The tutorial for doing that is here. So, your sales channel app needs to create the UI that allows a merchant to fill in the value, and only then can you save the metafield through the API.