StockInput
No description
input StockInput {
warehouse: ID!
quantity: Int
outOfStockThreshold: Int
includeAllocations: Boolean
}
Fields
StockInput.warehouse ● ID! non-null scalar
Warehouse in which the stock is located.
StockInput.quantity ● Int scalar
Quantity of items in the warehouse.
StockInput.outOfStockThreshold ● Int scalar
Threshold of available quantity to allow backorders. Should be zero or negative.
StockInput.includeAllocations ● Boolean scalar
Determines whether 'quantityAllocated' is added to the 'quantity' input or is ignored when updating the stock levels. When true, the 'quantity' input is added to 'quantityAllocated', resulting in the new stock quantity. When false (default), the 'quantity' input directly replaces the stock quantity, ignoring 'quantityAllocated'.
Member Of
ProductBulkCreateInput input ● ProductCreateInput input ● ProductVariantBulkCreateInput input ● ProductVariantCreateInput input ● productVariantStocksCreate mutation ● productVariantStocksUpdate mutation