Vue Storefront is now Alokai! Learn More


In this section, we will cover the basics of users. We will show you how to fetch user data, create new users, and update existing users.


There are two types of users in Magento 2: guest users and logged in users. Guest users are users that are not logged in, while logged in users are users that are logged in. Guest users can be converted to logged in users by creating a new user account for them.

Methods in this section helps you to implement full user functionality in your storefront integration including login, logout, registration, and password reset.


customerMethod to fetch customer data
createCustomerMethod to create new customer
updateCustomerMethod to update customer
changeCustomerPasswordMethod to change customer password
createCustomerAddressMethod to create customer address