Skip to main content

CreateInventoryInput

No description

input CreateInventoryInput {
type: InventoryType!
productId: Int!
quantity: Int!
location: String
warehouseId: Int
notes: String
nextDeliveryDate: String
costPrice: Float
supplier: String
}

Fields​

CreateInventoryInput.type ● InventoryType! non-null enum​

Inventory type to create

CreateInventoryInput.productId ● Int! non-null scalar​

Inventory product identifier

CreateInventoryInput.quantity ● Int! non-null scalar​

Inventory quantity

CreateInventoryInput.location ● String scalar​

Inventory location

CreateInventoryInput.warehouseId ● Int scalar​

Inventory warehouse identifier

CreateInventoryInput.notes ● String scalar​

Inventory notes

CreateInventoryInput.nextDeliveryDate ● String scalar​

Inventory estimated next delivery date in ISO8601 format

CreateInventoryInput.costPrice ● Float scalar​

Inventory cost price

CreateInventoryInput.supplier ● String scalar​

Inventory supplier. Defaults: - 'INTERN' for local inventory type - '[inherited from product supplier]' for supplier inventory type

Member Of​

inventoryCreate mutation