@shipengine/connect-order-source-api
Version:
This is the typescript/javascript definitions for the order source api
21 lines (20 loc) • 1.09 kB
TypeScript
export interface InventoryItemBase {
/** Merchant-supplied identifier for the product or item */
sku: string;
/**
* Unique identifier for the inventory record in the 3rd party integration system (i.e. marketplace, 3PL, WMS, etc).
* This may be the same as `sku`, or be a JSON encoded string containing all the identifiers required to uniquely
* specify and update the item.
*/
integration_inventory_item_id: string;
/** Stock available to sell – generally this is `onhand` minus `committed` */
available_quantity: number;
/** Stock allocated to specific orders for fulfillment – this will be less than `onhand` */
allocated_quantity?: number;
/** Stock that is physically present in a location, regardless of commitment / allocation */
onhand_quantity?: number;
/** Time stamp (ISO 8601) indicating when the current inventory values changed in the source system */
updated_at?: string;
/** A unique identifier in the source system for the physical building of a quantity of stock */
warehouse_id?: string;
}