# Inventory sync rules

When syncing products to TikTok Shop, inventory will be updated based on your configured sync rules. These settings are especially useful for preventing overselling.\
You can configure them under:\
**Settings → Product → Inventory → Sync rules**

<figure><img src="/files/CZ8TWU5WYy55EGnFTfcR" alt=""><figcaption></figcaption></figure>

## Quantity

You can choose to sync a **percentage** of the available inventory from your source locations.

* By default, **100%** of available inventory is synced.
* You can adjust this to any percentage (e.g., sync 80% to keep a buffer in Shopify).

Behavior based on Shopify settings:

* If **Track quantity** is **enabled** in Shopify, we will sync the **available** inventory from the mapped locations.
* If **Track quantity** is **disabled** or **Continue selling when out of stock** is **enabled**, we will sync the maximum inventory allowed by TikTok Shop: **999,999**.

Examples: Track quantity is enabled in Shopif&#x79;**,** Quantity adjustment: 80%

<figure><img src="/files/smHuNVsHA0v3UaQJhmSU" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/41l0xZUZpF7xix0IUfr4" alt=""><figcaption></figcaption></figure>

Final synced quantity to TikTok Shop: **788** (985\*80%)&#x20;

<figure><img src="/files/M5vdtBRggt5VlqQf0lb9" alt=""><figcaption></figcaption></figure>

## Location mapping

You can map your **active Shopify warehouse locations** to your **active TikTok Shop pickup warehouse**. This ensures accurate inventory sync across platforms. Syncing inventory from your active Shopify warehouse locations helps ensure accurate stock levels on TikTok Shop.

{% hint style="info" %}
This configuration applies globally to all products and **cannot be customized per product**.
{% endhint %}

Examples:&#x20;

* In Shopify, you have two active locations:
  * Location A: 100 available inventory
  * Location B: 200 available inventory
* In TikTok Shop, you have two active pickup warehouses:
  * Warehouse: α (default)
  * Warehouse: β&#x20;

If you set the sync rule as **All active locations → α**, then:&#x20;

Synced inventory to TikTok Shop = 100 + 200 = **300**, reflected in warehouse **α.**

<figure><img src="/files/MozWyjLktvmLY6VWrP8v" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/fyqV7nrQJS2B3UsD0k59" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/rDhmkgD7NTSneU2YmeBy" alt=""><figcaption></figcaption></figure>

Examples:&#x20;

* In Shopify, you have two active locations:
  * Location A: 100 available inventory
  * Location B: 200 available inventory
* In TikTok Shop, you have two active pickup warehouses:
  * Warehouse: α (default)
  * Warehouse: β&#x20;

If you set the sync rule to **sync 80% of available inventory** and **Location A → β**, then

Synced inventory to TikTok Shop = 100\*0.8=80, reflected in warehouse **β.**

**Need help?** Feel free to contact us via online chat or [email](mailto:undefined). Our world-class support team is available 24/7 and always ready to assist you. 🌻


---

# 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-connector.ecomsend.com/ecomsend-connector/settings/product-sync-settings/inventory-sync-rules.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.
