We have an app that takes returned products and uploads them for resale. We do this by creating a duplicate of the original product and adding the “used” version of the new product. Our customers want us to copy all of the possible metafields over as possible, this allows the newly listed returned product to behave the same as the existing product. This is especially important for how Shopify Themes 2.0 is setup.
Today when trying to create a new product I got the following message:
"Access to this namespace and key on Metafields for this resource type is not allowed."
I can see all of the metafield namespaces that we are trying to create:
["c_f", "global", "reviews", "spr", "mm-google-shopping", "r4s", "custom", "product_recommendation"]
But I do not have any indication which of these fields would be preventing us from creating the new product. I can see the following attributes on the metafield data returned from the original product, but none of these give me a sense of if it’s a metafield available for me to write on.
["id", "namespace", "key", "value", "description", "owner_id", "created_at", "updated_at", "owner_resource", "type", "admin_graphql_api_id"]
Looking for any advice here from the team at Shopify or the community on how to handle.