AdjustStockAtBinLocationInput
Input for adjustStockAtBinLocation. Applies a relative delta (positive or negative) to the current stock at a (productId, binLocationId[, batchId]) tuple.
input AdjustStockAtBinLocationInput {
productId: ID!
binLocationId: ID!
delta: Int!
batchId: ID
}
Fields
AdjustStockAtBinLocationInput.productId ● ID! non-null scalar
ID of the product whose stock is being adjusted.
AdjustStockAtBinLocationInput.binLocationId ● ID! non-null scalar
ID of the bin location whose stock is being adjusted.
AdjustStockAtBinLocationInput.delta ● Int! non-null scalar
Signed quantity to apply. Positive values add stock, negative values remove stock. Zero is rejected (no-op).
AdjustStockAtBinLocationInput.batchId ● ID scalar
ID of the batch when batch tracking is enabled for the product.
Member Of
adjustStockAtBinLocation mutation