Home > @vsf-enterprise/sap-commerce-webservices-sdk > ProductListControllerApiFactory
ProductListControllerApiFactory variable
ProductListControllerApi - factory interface
Signature:
ProductListControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
addEntriesToCartUsingPOST(baseSiteId: string, addToCartData: AddToCartEntries, options?: any): AxiosPromise<CartModificationList>;
addProductListUsingPOST(productlistname: string, options?: any): AxiosPromise<ProductList>;
addProductToListUsingPOST(productcode: string, productlistname: string, quantity?: number, options?: any): AxiosPromise<ProductListEntry>;
editProductListUsingPUT(newname: string, productlistname: string, isfavourite?: boolean, options?: any): AxiosPromise<ProductList>;
getFavouriteProductListUsingGET(fields?: string, options?: any): AxiosPromise<ProductList>;
getProductListBinUsingGET(fields?: string, options?: any): AxiosPromise<ProductListsBin>;
getProductListUsingGET(productlistname: string, fields?: string, options?: any): AxiosPromise<ProductList>;
getSharedWithMeProductListsUsingGET(fields?: string, options?: any): AxiosPromise<ProductListCollection>;
removeEntryUsingDELETE(entrycode: string, options?: any): AxiosPromise<void>;
removeProductListUsingDELETE(productlistname: string, options?: any): AxiosPromise<void>;
removeSharedProductListForUserUsingDELETE(productlistname: string, userid: string, options?: any): AxiosPromise<void>;
setFavouriteProductListUsingPOST(name: string, options?: any): AxiosPromise<void>;
shareProductListWithUserUsingPOST(productlistname: string, userid: string, options?: any): AxiosPromise<PrincipalList>;
updateEntryUsingPOST(entrycode: string, quantity?: number, options?: any): AxiosPromise<void>;
}