Skip to main content

Order Inventory Batch Location Assignment

The Product Expiration Dates app allows you to configure when inventory batches are assigned to an order: either when the order is placed or when an order line is fulfilled. See Adding Expiration Data to Products.

By default a product's soonest expiring inventory batch across all locations is assigned to the order line (FEFO: First Expired, First Out management strategy). If the incoming order has a location assigned — typically Shopify Point of Sale (POS) orders— that location will be used.

You can change your inventory management strategy to First In, First Out (FIFO) on the Settings page's Inventory tab.

Shopify Order Routing Rules​

Support for Shopify Order Routing Rules is only available under the Pro Plan

To assign an inventory batch from a location determined by Shopify Order Routing rules, select "Assign inventory batches based on Shopify Order Routing" from the Settings page's Inventory tab. Shopify Order Routing can be configured in the Shopify Admin.

Assign Inventory Batches from a Specific Location​

Do not set this if you use prioritized fulfillment locations.

If you're using "order placed" for a Product's "Assign inventory batches when" setting and have multiple locations in Shopify but only fulfill from one, you must set the "Assign inventory batches from this location" field to match your default location in Shopify. When this is set and an order is placed without a location the Product Expiration Dates app will only allocate the soonest expiring expiration date from this location. If this is not set the app will allocate the soonest expiring expiration date across all locations.

Note that Shopify does not share a store's default location with 3rd-party apps so it must be explicitly set.