Magidoc

Stock
Object

Represents stock.

Fields

#

id

ID !
Non-null

The ID of the object

outOfStockThreshold

If backorders are enabled for the marketplace and variant, this is the number of backordered items permitted before the variant is marked as out of stock. This is a negative number or zero. quantity available is not permitted to go below this number.

productVariant

Non-null

quantity

Non-null

Total amount of variant stock located at the warehouse.

quantityAllocated

Non-null

Amount of variant stock at the warehouse that has been allocated to an order.

quantityAvailable

Non-null

Amount of variant stock at the warehouse that is available for purchase and is not allocated to an order. This is equal to the difference between quantity and quantity_allocated.

warehouse

Non-null

Interfaces

#

Also implements Node .

Usages

#

References

#