Home > @vsf-enterprise/commercetools-api > customerChangeMyPasswordMutation

# customerChangeMyPasswordMutation variable

Portion of the GraphQL query used in the customerChangeMyPassword API endpoint

Signature:

customerChangeMyPasswordMutation = "\n  mutation customerChangeMyPassword($version: Long!, $currentPassword: String!, $newPassword: String!, $storeKey: KeyReferenceInput) {\n    user: customerChangeMyPassword(version: $version, currentPassword: $currentPassword, newPassword: $newPassword, storeKey: $storeKey) {\n      ...DefaultCustomer\n    }\n  }\n"