I’m using the following mutation and it returns as if it works but the value isn’t actually being set to the customer. Any ideas what I’m doing wrong here would be appreciated.
"""
mutation {
metafieldsSet(metafields:{
key:"custom.cus_id",
namespace:"custom.cus_id",
ownerId:"%s",
type: "single_line_text_field",
value:"%s"}) {
metafields {
key
ownerType
value
}
userErrors{
field
message
}
}
}
"""%(customerID, metafieldValue)