You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > UseUserFactoryParams > updateUser

UseUserFactoryParams.updateUser property

Signature:

updateUser: (context: Context, params: {
        currentUser: USER;
        updatedUserData: UPDATE_USER_PARAMS;
        customQuery?: CustomQuery;
    }) => Promise<USER>;