UNPKG

@hotwax/oms-api

Version:

The OMS API package comes with prebuilt methods that helps communicate with HotWax Commerce OMS using Rest API

15 lines (14 loc) 689 B
import { Product, Response } from "../../types"; declare function fetchProducts(params: any): Promise<any | Response>; declare function searchProducts(params: { keyword?: string; sort?: string; qf?: string; viewSize?: number; viewIndex?: number; filters?: any; }): Promise<any>; declare function fetchProductsGroupedBy(params: any): Promise<any | Response>; declare function fetchProductsGroupedByParent(params: any): Promise<Product[] | Response>; declare function omsFetchGoodIdentificationTypes(parentTypeId?: string): Promise<any>; export { fetchProducts, fetchProductsGroupedBy, fetchProductsGroupedByParent, omsFetchGoodIdentificationTypes, searchProducts };