interface InventoryEntryDraft {
    custom?: CustomFieldsDraft;
    expectedDelivery?: string;
    key?: string;
    quantityOnStock: number;
    restockableInDays?: number;
    sku: string;
    supplyChannel?: ChannelResourceIdentifier;
}

Properties

Custom Fields of the InventoryEntry.

expectedDelivery?: string

Date and time of the next restock.

key?: string

User-defined unique identifier for the InventoryEntry.

This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the [Import API](/../import-export/) and the [Merchant Center](/../merchant-center/import-data).
quantityOnStock: number

Overall amount of stock.

restockableInDays?: number

How often the InventoryEntry is restocked (in days).

sku: string

ProductVariant sku of the InventoryEntry.

Channel that supplies this InventoryEntry.