To get the current customer profile, call the new GC.AccountService().getProfile() method. This will allow you to interact and manage customer profile.

1462

Update customer profile

new GC.AccountService().updateProfile(phoneNumber, firstName, lastName, dob, email)

phoneNumber - customer phone number
firstName - Customer name
lastName - last name of the customer
dob - Day, month, year of birth of the customer
email - customer's e-mail