A StockMovement is created whenever stock of a particular ProductVariant goes in or out.
Extends: VendureEntity
Implements: HasCustomFields
StockMovementTypeProductVariantStockLocationIDnumberCustomStockMovementFieldsAn Allocation is created for each ProductVariant in an Order when the checkout is completed (as configured by the StockAllocationStrategy. This prevents stock being sold twice.
StockMovementA Cancellation is created when OrderItems from a fulfilled Order are cancelled.
StockMovementA Release is created when OrderItems which have been allocated (but not yet fulfilled) are cancelled.
StockMovementA Sale is created when OrderItems are fulfilled.
StockMovementA StockAdjustment is created when the stockOnHand level of a ProductVariant is manually adjusted.
StockMovement