Metafields do not delete (via REST or GraphQL deletion) even though response confirms deletion.

Solved
patrickb
Shopify Expert
27 0 4

You got it, Matt!

I had a delayed job running minutes after a merchant action was performed. This was calling to update the product metafield - which I thought would always exist. Updating it via REST API when the metafield doesn't exist causes the API to create a new metafield.


You are an absolute lifesaver. I truly can't thank you enough. Appreciate you so much, and appreciate you taking time out of your day to help me.

You rock!!

Recipe Kit - Easy, beautiful & SEO friendly recipe cards on your Shopify blog posts - https://apps.shopify.com/recipe-kit
Wait.li - Product Waiting Lists for Shopify - https://apps.shopify.com/product-waiting-lists
0 Likes