> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://doc.common-services.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Multistore PrestaShop + Mirakl

Two different concepts:

## PrestaShop multistore

Several PrestaShop shops (groups / shops). The back-office context (shop selected at the top) defines which products / stock / orders the module sees.

**Note:** Configure and export in the context of the relevant PrestaShop shop.

## Mirakl Shop ID

Shop identifier(s) on the Mirakl side (**Credentials** / Authentification tab). Several shop IDs on the **same** marketplace = commas in Shop ID, then a selector on export / import / cron (`selected-shop-id`).

See: [Get your Mirakl API keys](https://doc.common-services.com/en/article/get-your-mirakl-api-keys-1g54d55/), [Multi-marketplace](https://doc.common-services.com/en/article/multi-marketplace-720rdi/).

## Do not confuse

|  | PrestaShop shop | Mirakl shop ID |
| ---- | ---- | ---- |
| Where | PrestaShop BO shop selector | Credentials / module selector |
| Role | PS catalog & orders | Mirakl seller account |
| License | 1 module | 1 license per Mirakl marketplace |

## Best practices

1. One module configuration per marketplace.
2. Check the PrestaShop shop context before export / import.
3. Cron: URL with the correct `id_shop` / context **and** the correct Mirakl `selected-shop-id`.