Conversations about creating, managing, and using metafields to store and retrieve custom data for apps and themes.
Hi,
How are you supposed to update a metafield on a product via the GraphQL API?
There's only a mutation for deleting a metafield, not for creating.
If I delete the metafield and do a product update afterwards with the metafield, the metafield is not created.
Thanks,
-Louise
Solved! Go to the solution
This is an accepted solution.
Never mind, rookie mistake, forgot to check userErrors on the productUpdate mutation - DO'H!
This is an accepted solution.
Never mind, rookie mistake, forgot to check userErrors on the productUpdate mutation - DO'H!