interface InventoryEntry {
    availableQuantity: number;
    createdAt: string;
    createdBy?: CreatedBy;
    custom?: CustomFields;
    expectedDelivery?: string;
    id: string;
    key?: string;
    lastModifiedAt: string;
    lastModifiedBy?: LastModifiedBy;
    quantityOnStock: number;
    restockableInDays?: number;
    sku: string;
    supplyChannel?: ChannelReference;
    version: number;
}

Hierarchy (view full)

Properties

availableQuantity: number

Available amount of stock (quantityOnStock - reserved).

createdAt: string

Date and time (UTC) the InventoryEntry was initially created.

createdBy?: CreatedBy

IDs and references that created the InventoryEntry.

custom?: CustomFields

Custom Fields of the InventoryEntry.

expectedDelivery?: string

Date and time of the next restock.

id: string

Unique identifier of the InventoryEntry.

key?: string

User-defined unique identifier of the InventoryEntry.

lastModifiedAt: string

Date and time (UTC) the InventoryEntry was last updated.

lastModifiedBy?: LastModifiedBy

IDs and references that last modified the InventoryEntry.

quantityOnStock: number

Overall amount of stock (availableQuantity + reserved).

restockableInDays?: number

How often the InventoryEntry is restocked (in days).

sku: string

ProductVariant sku of the InventoryEntry.

supplyChannel?: ChannelReference

Channel that supplies this InventoryEntry.

version: number

Current version of the InventoryEntry.