Inventory strategies
How to manage the available options in terms of order fulfillment.
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.
![](https://docs.commercelayer.io/~gitbook/image?url=https%3A%2F%2F2610849379-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lk-ezuDClaMavTqnRi0%252Fuploads%252FDg1msYpd6phGiS1junUg%252Finventory-strategies-cover.jpg%3Falt%3Dmedia%26token%3Da3e164fc-586c-41d2-afe3-83f392aaa884&width=768&dpr=4&quality=100&sign=47d99b82&sv=1)
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.
Supported strategies
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.
Last updated