Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
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.
User | RANK |
---|---|
6 | |
5 | |
5 | |
4 | |
4 |