Skip to main content

UpdateInventoryInput

Input for updating an existing inventory record.

Contains modifiable inventory fields excluding core identifiers like type, product ID, location, warehouse, and supplier which are set during creation. All fields are optional to support partial updates.

input UpdateInventoryInput {
quantity: Int
notes: String
nextDeliveryDate: String
costPrice: Float
}

Fields

UpdateInventoryInput.quantity ● Int scalar

Current stock level available for this inventory record.

The number of units physically available at this location, used for availability calculations and stock level monitoring.

UpdateInventoryInput.notes ● String scalar

Additional information and handling instructions.

Free-form text for storing special handling requirements, quality notes, or other relevant information about this inventory batch. Maximum 255 characters.

UpdateInventoryInput.nextDeliveryDate ● String scalar

Expected replenishment delivery date.

Estimated date when the next shipment of this product will arrive, used for stock planning and customer availability communication. Must be in ISO8601 format.

UpdateInventoryInput.costPrice ● Float scalar

Unit cost for this inventory batch.

The cost incurred to acquire each unit in this inventory record, used for margin calculations, inventory valuation, and profitability analysis.

Member Of

inventoryUpdate mutation