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

ProductsApiFp variable

ProductsApi - functional programming interface

Signature:

ProductsApiFp: (configuration?: Configuration) => {
    countProductStockByLocation(baseSiteId: string, productCode: string, latitude?: number, location?: string, longitude?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    countProducts(baseSiteId: string, query?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    createProductReview(baseSiteId: string, productCode: string, review: Review, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Review>>;
    getExpressUpdateProducts(baseSiteId: string, timestamp: string, catalog?: string, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductExpressUpdateElementList>>;
    getLocationProductStock(baseSiteId: string, productCode: string, currentPage?: number, fields?: string, latitude?: number, location?: string, longitude?: number, pageSize?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreFinderStockSearchPage>>;
    getProduct(baseSiteId: string, productCode: string, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Product>>;
    getProductReferences(baseSiteId: string, productCode: string, fields?: string, pageSize?: number, referenceType?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductReferenceList>>;
    getProductReviews(baseSiteId: string, productCode: string, fields?: string, maxCount?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReviewList>>;
    getProducts(baseSiteId: string, currentPage?: number, fields?: string, pageSize?: number, query?: string, searchQueryContext?: string, sort?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchPage>>;
    getStoreProductStock(baseSiteId: string, productCode: string, storeName: string, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Stock>>;
    getSuggestions(baseSiteId: string, term: string, fields?: string, max?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuggestionList>>;
}