Inventory > Inventory Rules
User GuideInventoryInventory Rules

Inventory Rules

Inventory rules determine how Lana selects inventory locations when fulfilling orders. Each rule matches orders based on criteria such as shipping destination and customer group, then assigns one or more inventory locations to fulfill from.

Adding inventory rules

To add an inventory rule, follow these steps:

  1. In the Settings section, select Inventory > Inventory Rules.

  2. Select Add Rule.

  3. Enter a Name for the rule and configure the matching criteria and inventory location.

  4. Select Save to save the new rule.

Editing inventory rules

To edit an inventory rule, follow these steps:

  1. In the Settings section, select Inventory > Inventory Rules.

  2. Select the rule you want to edit.

  3. Update the rule settings as needed.

  4. Select Save to save your changes.

Changing rule priority

Rules are evaluated in priority order, from lowest to highest number. When multiple rules match an order, the rule with the lowest priority number takes precedence.

To change the priority of a rule, update the Priority field on the rule and select Save.

Importing inventory rules

To import inventory rules from a CSV file, follow these steps:

  1. In the Settings section, select Inventory > Inventory Rules.

  2. Select Import.

  3. Drag and drop your CSV file into the import area, or select the area to browse for the file.

  4. Select Next and review the column mappings.

  5. Select Next to start the import.

The import file must use the following headers:

HeaderRequired/OptionalDescriptionExample
nameRequiredName of the inventory ruleNY Shipping
priorityOptionalThe priority of the rule10
inventory_strategyOptionalHow inventory location should be pickedclosest most_available order
multiple_locationsOptionalWhether to allow picking multiple locations per ordertrue false
split_line_itemsOptionalWhether to allow splitting individual line items across multiple locationstrue false
split_bundle_itemsOptionalWhether to allow splitting bundle line items across multiple locationstrue false
countryOptionalThe two-letter ISO code for the countryUS
provinceOptionalThe ISO code for the province or stateNY
zipOptionalThe zip or postal code, or a glob pattern for one90210
customer_groupOptionalThe unique customer group identifiercg_pLk4a0lP
inventory_locationRequiredThe unique inventory location identifieril_pLk4a0lP
defaultOptionalWhether this location is the default one (its address is used for tax calc)true false

Exporting inventory rules

To export inventory rules, follow these steps:

  1. In the Settings section, select Inventory > Inventory Rules.

  2. Select the rules you want to export, or select Export to export all rules.

  3. In the confirmation dialog, select Export Inventory Rules.

  4. When the export is complete, the file downloads automatically. Select the green tick icon to download it manually.

  5. Select Done to close the window.

The exported CSV file contains the same headers as the import file described above.

PREVIOUS
Inventory Locations
NEXT
Returns