Typescript SDK Type Docs
    Preparing search index...

    Interface InventoryImport

    Represents the data used to import an InventoryEntry. Once imported, this data is persisted as a InventoryEntry in the Project.

    interface InventoryImport {
        custom?: Custom;
        expectedDelivery?: string;
        key: string;
        quantityOnStock: number;
        restockableInDays?: number;
        sku: string;
        supplyChannel?: ChannelKeyReference;
    }

    Hierarchy (View Summary)

    Index

    Properties

    custom?: Custom

    Maps to InventoryEntry.custom.

    expectedDelivery?: string

    Maps to InventoryEntry.expectedDelivery

    key: string

    User-defined unique identifier. If an InventoryEntry with this key exists, it is updated with the imported data.

    quantityOnStock: number

    Maps to InventoryEntry.quantityOnStock

    restockableInDays?: number

    Maps to InventoryEntry.restockableInDays

    sku: string

    Maps to InventoryEntry.sku

    supplyChannel?: ChannelKeyReference

    Maps to InventoryEntry.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.