Customer

Customer

Service to interact with a customer

Constructor

new Customer(options)

Create a new customer service

Parameters:
Name Type Description
options Object

configuration parameters

Source:

Methods

getCustomer(accessToken) → {Promise}

Gets the customer's details

Parameters:
Name Type Description
accessToken string

the oauth bearer token.

Source:
Returns:
  • the http request promise
Type
Promise