Home > @vsf-enterprise/sap-commerce-webservices-sdk > ComponentApiFactory
ComponentApiFactory variable
ComponentApi - factory interface
Signature:
ComponentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
findComponentsByIds(baseSiteId: string, catalogCode?: string, categoryCode?: string, componentIds?: Array<string>, currentPage?: number, fields?: 'BASIC' | 'DEFAULT' | 'FULL', pageSize?: number, productCode?: string, sort?: string, options?: any): AxiosPromise<ListAdaptedComponents>;
getComponentById(baseSiteId: string, componentId: string, catalogCode?: string, categoryCode?: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', productCode?: string, options?: any): AxiosPromise<object>;
searchComponentsByIds(baseSiteId: string, componentIdList: ComponentIDList, catalogCode?: string, categoryCode?: string, currentPage?: number, fields?: 'BASIC' | 'DEFAULT' | 'FULL', pageSize?: number, productCode?: string, sort?: string, options?: any): AxiosPromise<ListAdaptedComponents>;
}