Home > @vue-storefront/magento-api > changeCustomerPassword

changeCustomerPassword variable

Changes password of the current customer. To override the default query, use the changeCustomerPassword query key.

Signature:

_default: (context: Context, params: {
    currentPassword: string;
    newPassword: string;
}, customQuery?: CustomQuery, customHeaders?: CustomHeaders) => Promise<FetchResult<ChangeCustomerPasswordMutation>>