Constructor
new Customer(options)
Create a new customer service
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object
|
configuration parameters |
Methods
getCustomer(accessToken) → {Promise}
Gets the customer's details
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
accessToken |
string
|
the oauth bearer token. |
Returns:
- Type:
-
Promise
- the http request promise