Home > @vsf-enterprise/sap-commerce-webservices-sdk > MiscsApi > getLanguages
MiscsApi.getLanguages() method
Lists all available languages (all languages used for a particular store). If the list of languages for a base store is empty, a list of all languages available in the system will be returned. Get a list of available languages.
Signature:
getLanguages(baseSiteId: string, fields?: string, options?: any): Promise<import("axios").AxiosResponse<LanguageList>>;
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<LanguageList>>
Exceptions
{RequiredError} MiscsApi