Skip to main content

Class: LookupClient

API client to make requests to the Lookup API.

Constructors​

Constructor​

new LookupClient(baseUrl, backend?): LookupClient

Parameters​

baseUrl​

string

backend?​

HttpBackend = fetchBackend

Returns​

LookupClient

Methods​

getLookups()​

getLookups(customerId, language): Promise<Lookups>

Gets all the lookups.

Parameters​

customerId​

string

Your customer id.

language​

string

The language to request.

Returns​

Promise<Lookups>