Skip to main content

Interface: CreateInventoryInput

Defined in: type/CreateInventoryInput.ts:5

Input object for CreateInventoryInput

Properties​

costPrice?​

optional costPrice?: number

Defined in: type/CreateInventoryInput.ts:21

Inventory cost price


location?​

optional location?: string

Defined in: type/CreateInventoryInput.ts:13

Inventory location


nextDeliveryDate?​

optional nextDeliveryDate?: string

Defined in: type/CreateInventoryInput.ts:19

Inventory estimated next delivery date in ISO8601 format


notes?​

optional notes?: string

Defined in: type/CreateInventoryInput.ts:17

Inventory notes


productId​

productId: number

Defined in: type/CreateInventoryInput.ts:9

Inventory product identifier


quantity​

quantity: number

Defined in: type/CreateInventoryInput.ts:11

Inventory quantity


supplier?​

optional supplier?: string

Defined in: type/CreateInventoryInput.ts:25

Inventory supplier. Defaults:

  • 'INTERN' for local inventory type
  • '[inherited from product supplier]' for supplier inventory type

type​

type: InventoryType

Defined in: type/CreateInventoryInput.ts:7

Inventory type to create


warehouseId?​

optional warehouseId?: number

Defined in: type/CreateInventoryInput.ts:15

Inventory warehouse identifier