UNPKG

@whitebox-co/walmart-marketplace-api

Version:

A fully typed TypeScript, Javascript, and Node.js API library for the Walmart Marketplace API

23 lines (22 loc) 498 B
export interface InventoryFeed { Inventory?: Inventory[]; InventoryHeader?: InventoryHeader; } export interface Inventory { quantity: Quantity; sku: string; } export interface Quantity { amount: number; unit: Unit; } export declare enum Unit { Each = "EACH" } export interface InventoryHeader { version: string; } export declare class Convert { static toInventoryFeed(json: string): InventoryFeed; static inventoryFeedToJson(value: InventoryFeed): string; }