customerInfo

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

Returns

an optional Object
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.
userInfoObject
permissionslist of optional Objects
User permissions