customerResetMutation top-level constant
String
const customerResetMutation
Mutation to reset a customer password
Implementation
const String customerResetMutation = r'''
mutation customerReset($id: ID!, $resetToken: String!, $password: String!) {
customerReset(id: $id, input: {resetToken: $resetToken, password: $password}) {
customerUserErrors {
code
field
message
}
customer {
id
}
}
}
''';