Inventory strategies
How to manage the available options in terms of order fulfillment.
Last updated
How to manage the available options in terms of order fulfillment.
Last updated
Commerce Layer supports different inventory model strategies that affect the way the order line items are fulfilled.
Specifically, an inventory model strategy is responsible to decide how many shipments are generated and from which stock location each shipment will be shipped. It is also key in managing the stock transfers (if any) from one stock location to another.
This guide will walk you through the different logic behind each supported strategy.
If you're happy with the selected inventory strategy, there's no additional action required from your side (anyway, it can be helpful to know how they work so that you can understand which one best suits your needs). All of the strategies automatically generate the resources based on their predefined logic. If you need to modify those resources or build custom / more complex inventory strategies, you still have the option to do it. You can create, update, or delete shipments, stock line items, and stock transfers upon specific conditions.
These are the inventory model strategies Commerce Layer currently supports.
No splitSplit shipmentsSplit by line itemsShip from primaryShip from first available (or primary)If no strategy is set on the inventory model the default one — no split — is used. Otherwise, remember that — in terms of stock location prioritization (i.e. primary vs secondary) — the smaller the number, the higher the priority.