Home > @vsf-enterprise/sap-commerce-webservices-sdk > PageApiFactory

PageApiFactory variable

PageApi - factory interface

Signature:

PageApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    getPage(baseSiteId: string, code?: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', pageLabelOrId?: string, pageType?: 'ContentPage' | 'ProductPage' | 'CategoryPage' | 'CatalogPage', options?: any): AxiosPromise<object>;
    getPageById(baseSiteId: string, pageId: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any): AxiosPromise<object>;
}