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