SetStockAtBinLocationInput
Input for setStockAtBinLocation. Sets the absolute stock quantity at a (productId, binLocationId[, batchId]) tuple. The mutation computes the delta against the current row and writes one stock movement.
input SetStockAtBinLocationInput {
productId: ID!
binLocationId: ID!
quantity: Int!
batchId: ID
}
Fields
SetStockAtBinLocationInput.productId ● ID! non-null scalar
ID of the product.
SetStockAtBinLocationInput.binLocationId ● ID! non-null scalar
ID of the bin location.
SetStockAtBinLocationInput.quantity ● Int! non-null scalar
Target absolute stock quantity. Must be >= 0.
SetStockAtBinLocationInput.batchId ● ID scalar
ID of the batch when batch tracking is enabled for the product.
Member Of
setStockAtBinLocation mutation