Development discussions around Shopify APIs
metafieldsSet mutation doesn't work
mutation metafieldsSet($metafields: [MetafieldsSetInput!]!) {
metafieldsSet(metafields: $metafields) {
metafields {
id
}
userErrors {
code
field
message
}
}
}
Error: Cannot query field "metafieldsSet" on type "Mutation"
It's a mutation just from documentation. What am I doing wrong? Trying to create a new metafield for a product variant
Yes!
I have a same problem.
Guys could you help please?
It's the new supported types - needs json instead of json_string.
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023