> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Warehouses and fulfilment rules

> Choose which warehouses price lines, set the default warehouse, and publish fulfilment rules that pick the shipping warehouse and its cost per line.

Each quote line prices on the cost of the warehouse that ships it. **Warehouses** lists the warehouses synced from your provider, lets you choose which ones are used for pricing and which one is the default, and holds the fulfilment rules that pick a warehouse for each line. Changes are saved to a draft and go live when you publish them. This page covers the warehouse list, fulfilment rules, publishing and approval.

Open it from **Settings**, under **Manage**, then **Warehouses**.

## Who can use it

| What you want to do | Access needed |
| - | - |
| View warehouses and rules | **View** on **Pricing policy** |
| Change warehouses and rules, request approval | **Edit** on **Pricing policy** |
| Publish without approval, or approve another member's request | **Approve** on **Pricing policy** |

With **View** only, the page shows "You can view warehouses and rules. Changing them needs Pricing policy access." The **Revenue / month** figure in the publish summary needs **Financial figures**. See [Roles](/docs/administration/roles.md).

## How a line picks its warehouse

**1. Rules are checked from the top**

The first rule whose delivery country, region, customer segment or channel matches the line picks the warehouse.

**2. Otherwise the default ships**

A line that matches no rule ships from the default warehouse.

**3. The line prices on that warehouse's cost**

A warehouse with no cost for the product uses the network average of the warehouses used for pricing, else the item-level cost.

A line's warehouse can still be set by hand on a quote. See [Quotation builder](/docs/pricing/quotes.md).

> [!NOTE]
>
> With one warehouse, the page shows it with "One warehouse. Every price uses its cost." and there is nothing to configure. Rules appear when two or more warehouses are used for pricing.

## The warehouse list

The **Warehouses** card shows how many warehouses are synced and when they last synced from your provider.

| Column | What it shows |
| - | - |
| **WAREHOUSE** | The warehouse name, country and cost currency. |
| **ERP ID** | The warehouse identifier in your provider. |
| **WITH COST** | Products with a cost at this warehouse. |
| **WITH STOCK** | Products with stock at this warehouse. |
| **SALES LINES · 12M** | Sales lines shipped from this warehouse in the last 12 months. |
| **PRICING** | Whether the warehouse is used for pricing. |
| **REGION** | The region the warehouse is assigned to, or **No region**. |

Only warehouses used for pricing can be the default, be named by rules, and count toward the network average and days of stock. **PRICING** starts on for a warehouse that had sales lines in the last 12 months.

The default warehouse shows **Default**. Hover it to see why it was chosen: set by you, chosen automatically from 12 months of sales, or chosen automatically from location costs, with its sales lines and share of all lines.

### Change a warehouse

| Task | How |
| - | - |
| Stop or start using a warehouse for pricing | Turn the **PRICING** switch off or on. The default warehouse cannot be turned off: make another warehouse the default first. |
| Make a warehouse the default | Click **Make default**. The warehouse must be used for pricing. |
| Assign a region | Choose a region in **REGION**. |

Turning off a warehouse that a rule names shows a message that the rule is skipped until the warehouse is back on. The rule shows **Warehouse not used for pricing · skipped**.

## Fulfilment rules

The **Fulfilment rules** card lists rules in order. Each reads as **When** a field **is** one or more values **→ ship from** a warehouse. The last row, **Otherwise →**, names the default warehouse. The card header shows the live version (for example **v3 LIVE**), or **Not published**. A dot marks an unpublished change.

### Add or edit a rule

**1. Open the rule sheet**

Click **Add rule**, or **Edit** on an existing rule.

**2. Choose what to match**

Under **When**, choose **Delivery country**, **Region**, **Customer segment** or **Channel**.

**3. Pick the values**

Under **Is any of**, select one or more values. Countries are grouped by your regions and can be searched. Channels are **Quotes**, **Published list**, **Storefront** and **API**.

**4. Pick the warehouse**

Under **Ship from**, choose a warehouse used for pricing.

**5. Check and save**

**Reads as** shows the rule as a sentence. If an earlier rule already matches some of the same values, it says so: the first match wins. Click **Create** or **Apply**. The rule goes to your draft.

To reorder rules, drag a rule by its handle, or focus the handle and use the arrow keys. To delete a rule, click the delete button and confirm with **Delete rule**; matching lines fall through to the next rule or the default warehouse.

## Publish your changes

Every change goes to a draft. A bar at the bottom of the page shows **Draft changes** and the number of changes.

**1. Review the draft**

In the draft bar, click **Publish**, or **Request approval** if your role cannot publish. The dialog lists each change.

**2. Check the price impact**

**Price impact · simulated on the last 30 days** replays the last 30 days of sales through the draft rules and shows **Customers re-routed**, **Lines / month**, **Avg price change** and **Revenue / month**, with up to five re-routed customers.

**3. Publish or send**

Click **Publish v** and the version number (for example **Publish v4**). When approval is needed, add a **Note for the approver** and click **Request approval**.

Published rules go live in the next pricing version. Open quotes re-price on their next change. **History** lists each published version with its changes, who published it and when.

To drop the draft, click **Discard** in the draft bar and confirm. The confirmation reads "Draft discarded".

### Approval

While a request is waiting, the page shows that the rules are waiting for approval, who requested them and how many changes they hold. Editing is locked until the request is decided. A member who can approve sees **Approve & publish** and **Reject**. Rejecting needs a reason; the live rules do not change and the requester sees the reason. Requests also appear in [Approvals](/docs/pricing/approvals.md).

## Price impact notes

| Note | Meaning |
| - | - |
| No customer changes warehouse. Prices stay the same. | The draft does not re-route any sales line. |
| N lines could not be priced at the new warehouse. | Those lines have no cost at the warehouse they would move to. |
| No sales lines in the last 30 days to measure. | There is no recent sales history to replay. |
| Impact is unavailable. Publishing does not depend on it. | The simulation could not run. You can still publish. |
| Impact is not shown because your data access covers only some customers. | Your role is limited to some customers. Ask a member with full data access to review the impact. |

## When something fails

| What you see | What to do |
| - | - |
| Couldn’t publish. Nothing changed. Try again. | Click **Publish** again. If it fails again, reload the page. |
| The **Warehouses** card shows **Couldn’t load this card** with a reference | Click **Retry**. If it fails again, contact support with the reference. |
| **No warehouses synced** | Warehouses appear after the next sync. Check the connection with the button in the card footer, or see [Integrations](/docs/integrations/overview.md). |
| A rule shows **Warehouse not used for pricing · skipped** | Turn **PRICING** back on for that warehouse, or edit the rule to ship from another warehouse. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.