customer

Table of contents

Interfaces

Functions

checkFeature

checkFeature(featureName?: string, options?: { account?: Account }): Promise<FeatureInfo>

Checks if a specific feature is enabled for the current customer

Parameters:

NameType
featureName?string
options?object
options.account?Account

Returns: Promise<FeatureInfo>


getCustomerInfo

getCustomerInfo(options?: { account?: Account }): Promise<CustomerInfo>

Get information about current logged-in user

Parameters:

NameType
options?object
options.account?Account

Returns: Promise<CustomerInfo>

Found a mistake? Let us know.

Enroll in beta

Request invite to our private Beta program for developers to join the waitlist. No spam, we promise.