@hotwax/oms-api
Version:
The OMS API package comes with prebuilt methods that helps communicate with HotWax Commerce OMS using Rest API
7 lines (6 loc) • 489 B
TypeScript
import { Product, Response } from "../../types";
declare function fetchProducts(params: any): Promise<any | Response>;
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 };