Magidoc

StockInput
Input Object

Fields

#

includeAllocations

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'.

outOfStockThreshold

Threshold of available quantity to allow backorders. Should be zero or negative.

quantity

Quantity of items in the warehouse.

warehouse

ID !
Non-null

Warehouse in which the stock is located.

Usages

#

References

#

  • Argument stocks of field productVariantStocksCreate from type Mutation
  • Argument stocks of field productVariantStocksUpdate from type Mutation