Address

Address

Service to interact with a customer address

Constructor

new Address(options)

Creates an instance of the address client

Source:
Parameters:
Name Type Description
options Object

configuration parameters

Methods

getAddresses(accessToken) → {Promise}

Retrieves a customer's address

Source:
Parameters:
Name Type Description
accessToken string

the oauth bearer token.

Returns:
Type:
Promise
  • the http request promise