Constructor
new Address(options)
Creates an instance of the address client
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | configuration parameters |
- Source:
Methods
getAddresses(accessToken) → {Promise}
Retrieves a customer's address
Parameters:
Name | Type | Description |
---|---|---|
accessToken |
string | the oauth bearer token. |
- Source:
Returns:
- the http request promise
- Type
- Promise