Home > @vsf-enterprise/sap-commerce-webservices-sdk > CatalogsApi > getCatalogs

CatalogsApi.getCatalogs() method

Returns all catalogs with versions defined for the base store. Get a list of catalogs

Signature:

getCatalogs(baseSiteId: string, fields?: string, options?: any): Promise<import("axios").AxiosResponse<CatalogList>>;

Parameters

Parameter Type Description
baseSiteId string Base site identifier
fields string Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL
options any Override http request option.

Returns:

Promise<import("axios").AxiosResponse<CatalogList>>

Exceptions

{RequiredError} CatalogsApi