# Two-way inventory sync

### ✅ What is Two-way Inventory Sync?

With **Two-way sync**, inventory can flow in both directions:

* If inventory changes in the **Source store** → it updates the **Destination store**
* If inventory changes in the **Destination store** → it updates the **Source store**

This helps keep stock consistent when you sell the same products in multiple stores.

***

### 🎯 When should you use it?

Use Two-way Inventory Sync if:

* you sell the same products in multiple stores
* both stores can create sales (or stock adjustments)
* you want inventory to stay aligned automatically

⚠️ If you want only one “master” store controlling inventory, use **One-way Inventory Sync** instead.

***

### 🛠️ **Steps to Set Up Two-Way Inventory Sync**

1\. Open the app in **Source** store > click **Settings**

2\. In **Inventory and Orders** part > select **Two-Way Inventory Sync**

3\. Click **Save**

<figure><img src="/files/1eWHXbwW5q9yGkeQAMDU" alt=""><figcaption></figcaption></figure>

***

### ✅ How "Two-Way Inventory Sync" Works

#### ✅ What triggers a sync?

* **Sale** (order created)
* **Refund / cancellation**
* **Restock or manual adjustment**

A sync is triggered when inventory changes due to:

#### 🔗 How products are matched

**Stores**

* Source: `urbanwear-eu.myshopify.com`
* Destination: `urbanwear-us.myshopify.com`

**Product**

* Name: Slim Fit Denim Jacket
* Handle: `slim-fit-denim-jacket`

#### Scenario 1:  Sale in Destination store

**Before sale**

* Source: 50 units
* Destination: 50 units

Customer buys **5 units** in Destination.

**After sync**

* Source: ✅ 45 units
* Destination: ✅ 45 units

➡️ The decrease in Destination is reflected in Source.

***

#### Scenario 2: Restock in Source store

You restock **10 units** in Source.

**After sync**

* Source: ✅ 55 units
* Destination: ✅ 55 units

➡️ The increase in Source is reflected in Destination.&#x20;

***

### 🎬 Tutorial video

How to set:

{% embed url="<https://www.youtube.com/watch?v=3DGIp9wEgtg>" %}

How it works:

{% embed url="<https://youtu.be/b4gp_fQJh44>" %}

**🙋 Still need support?**

If you still need help, please feel free to contact us at <hi@tipo.io>. We’ll be happy to assist you further.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tipo.io/inventory-sync/two-way-inventory-sync.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
