customerInfo

Retrieves customer info, type and permissions. Requires a B2B Token.

Returns

an optional CustomerInfoType
userTypeInteger
The user type of current email. 1 means user doesn't exist. 2 means the user exists in BigCommerce. 3 means the user exists in BundleB2B.
userInfoCompanyEmailUserInfoType
permissionslist of optional AuthRolePermissionType
User permissions