WebstoreUserInfo reference
This article provides reference material about WebstoreUserInfo
record.
WebstoreUserInfo
record represents information about current webstore user.
Properties
Id
The identifier of customer, contact, sales agent or guest based on Type
property.
Will contain identifier of the first customer for the users linked to multiple customers.
Will be null
for anonymous users and sales agents which can represent all customers.
Can be null
for guest users for which ERP account was not created yet.
Type
The user type. Can be anonymous, guest, customer, contact, sales agent, or sales agent which can represent all customers.
ShopAccountRole
The shop account role. Can be regular account, account manager, or sub-account.
Will be null
if the user is not authenticated.
The shop account email address.
Can be null
for guest users for which ERP account was not created yet.
IsImpersonating
The value that indicates if the shop account, which is linked to multiple customers, or sales agent impersonates the customer.
B2cCustomer
The value that indicates whether this customer is B2C customer.