@shipengine/connect-order-source-api
Version:
This is the typescript/javascript definitions for the order source api
13 lines (12 loc) • 642 B
TypeScript
import { InventoryItemBase } from '../models/inventory-item-base';
/**
* Stock quantities fetched from 3rd-party inventory providers may have some useful
* "location" or "warehouse" information. When present, these values should be preserved
* and included as `warehouse_id` when returning serialized `InventoryItems` to the client.
*/
export interface InventoryFetchItem extends InventoryItemBase {
/** Time stamp (ISO 8601) indicating when the current values were fetched from the source system. */
fetched_at?: string;
/** The total stock quantity needed to fulfill all pending orders */
committed_quantity?: number;
}