Skip to main content

UpdateInventoryThresholdsInput

The stock alert thresholds of one stock row. Omitted fields stay as they are, and 0 clears a threshold.

input UpdateInventoryThresholdsInput {
inventoryId: ID!
leadTimeDays: Float
maximumQuantity: Float
minimumQuantity: Float
reorderPoint: Float
reorderQuantity: Float
}

Fields​

UpdateInventoryThresholdsInput.inventoryId ● ID! non-null scalar​

The ID of the stock row.

UpdateInventoryThresholdsInput.leadTimeDays ● Float scalar​

The days it takes to replenish the stock.

UpdateInventoryThresholdsInput.maximumQuantity ● Float scalar​

The highest quantity the row should hold.

UpdateInventoryThresholdsInput.minimumQuantity ● Float scalar​

The lowest quantity the row should hold.

UpdateInventoryThresholdsInput.reorderPoint ● Float scalar​

The quantity at which the row counts as low. Setting it by hand stops the automatic reorder engine from changing it.

UpdateInventoryThresholdsInput.reorderQuantity ● Float scalar​

How much to buy when the reorder point is reached. Advisory, nothing orders by itself.

Member Of​

updateInventoryThresholds mutation