Ship from primary
How to fulfill your orders shipping from the primary stock location
Last updated
How to fulfill your orders shipping from the primary stock location
Last updated
You have an order containing several SKUs, whose stock is available in different locations and — possibly — belongs to multiple shipping categories. You want to create the shipments just from your primary stock location and perform stock transfers from the secondary locations to the primary one in case the latter cannot fulfill all the order's line items.
You need to use the ship from primary strategy. To do that, check the related option in the admin UI or send a PATCH
request to the inventory_models/:id
endpoint, setting the strategy
attribute accordingly.
The following request updates the strategy for the inventory model identified by the "BwAezhyOQw" ID:
This inventory strategy affects the creation of the resources involved in the process by the following logic.
Only the primary stock location is considered for shipment creation.
If the primary stock location can fulfill all the SKUs associated with the order, no stock transfer is created. Otherwise, one or more stock transfers are created from the secondary locations to the primary one. Each stock transfer creates a stock line item once completed.
Only the SKUs fulfilled by the primary stock location generate stock line items. Each of the other SKUs generates a stock transfer.
In case the order contains SKUs belonging to different shipping categories, a shipment is created from the primary stock location for each shipping category. As for the rest, the logic still works as described above.
If an SKU is marked with the do_not_ship
flag, no shipment is generated for it. The necessary stock line items and stock transfers are created anyway.
This option still tracks inventory.
If an SKU is marked with the do_not_track
flag, no stock transfer is generated for it. Stock line items are still created but they aren't associated with any stock item so that the stock isn't decremented/incremented on order placement/cancellation.
This option still generates shipments.
See our documentation if you need more information on how to or if you want more information about , , , and .