Skip to content

@vitabletech/gbp-sdk


Constructors ​

Constructor ​

new CategoriesService(client): CategoriesService

Parameters ​

client ​

HttpClient

Returns ​

CategoriesService

Methods ​

list() ​

list(options?): Promise<any>

Returns a list of business categories.

Parameters ​

options? ​
languageCode? ​

string

pageToken? ​

string

regionCode? ​

string

view? ​

string

Returns ​

Promise<any>


search(options): Promise<any>

Searches for categories.

Parameters ​

options ​
languageCode? ​

string

pageToken? ​

string

regionCode? ​

string

searchTerm? ​

string

view? ​

string

Returns ​

Promise<any>