> For the complete documentation index, see [llms.txt](https://doc.simax.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.simax.fr/fonctionnelle/connecteurs-e-commerce/shopify/configuration-au-demarrage/connecteur.md). Agents can also search and read this documentation through its [MCP server](https://doc.simax.fr/~gitbook/mcp).

# Connecteur

Configuration du connecteur entre Simax et Shopify

## Back-office Shopify

Il est nécessaire de se **connecter au back-office** de **Shopify**, puis de **paramétrer les webhooks**.

Pour cela :

1. Saisissez **« webhook »** dans la **barre de recherche**.
2. Cliquez sur l’**option de paramétrage** correspondante.

<figure><img src="https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2F5tffQyapfi1Kemck3gjt%2FCapture341.PNG?alt=media&amp;token=c3965cc7-08b4-4be2-8d70-fc05b498c318" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2FyPObszXwNls5RDRE5igN%2FCapture342.PNG?alt=media&amp;token=e4674312-ee7e-41f7-8a38-281334701d76" alt=""><figcaption></figcaption></figure>

Pour les **webhooks** suivants, renseignez le **type JSON** et l’**URL** correspondante.

<figure><img src="https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2FUTIoSZzeiCSu3tUueGaZ%2FCapture343.PNG?alt=media&amp;token=2dfa1d15-921e-4a5d-a2d2-2d9e1ddf963a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2FGeh6oL5i23sccN5mE1O9%2FCapture344.PNG?alt=media&amp;token=7b84fd1c-122d-4ddb-b977-a397f624e6c9" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
L’**URL** à utiliser correspond à l’**adresse publique** de votre **SimaxOnline**, là où est hébergée votre **API Simax**.
{% endhint %}

## Dans Simax

Il est nécessaire d’activer le **module E-commerce** :\
**Paramétrage > Choix des modules et des options**, cocher | **E-commerce** |, puis cliquer sur \[\[ **Enregistrer** ]].

<figure><img src="https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2FUPjG6gNXbnPhomYJUDkd%2FModule%20e-commerce.png?alt=media&amp;token=6c2936ed-63c7-4ff2-998d-75e00d619337" alt=""><figcaption></figcaption></figure>

**Redémarrez** votre **Simax**.

Ensuite, récupérez l’**adresse** et le **domaine** de votre **Shopify** en accédant au **back-office** de Shopify : **Paramètres > Domaines**.

<figure><img src="https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2FiuzYTRRgV0nujWKtkGTv%2FCapture346.PNG?alt=media&amp;token=fee7e602-113c-43e4-9653-d0bd1698a658" alt=""><figcaption></figcaption></figure>

Dans **Simax**, accédez à :\
**Paramétrage > E-commerce > Liste sites e-commerce**, puis cliquez sur \[\[ **Créer** ]].

Renseignez ensuite :

* **ID domaine** : saisissez le **domaine** récupéré (information n°3)
* **Site de test** : saisissez l’**URL du site de test** (information n°2)

<figure><img src="https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2FFffCnfayOL8NlNIZvF0g%2FSite%20e-commerce.png?alt=media&amp;token=d2950308-ae1e-4a38-8841-cd4b7dd2f4e8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

* **Établissement** : correspond à l’**établissement** auquel les **commandes** seront associées.
* **Import des clients** : détermine si les **clients** provenant de **Shopify** seront créés en tant que **client particulier** ou **client professionnel** dans **Simax**.
* **Compte en banque** : nécessaire pour **rattacher les règlements** des **commandes Shopify** aux **règlements dans Simax**.
  {% endhint %}

Ensuite, définissez l’**intervalle** de **création automatique des commandes** et de leurs **éléments associés**, par défaut il est à chaque **10mn.**\
Pour cela, accédez à **Paramétrage > Automatiser > Automatismes sur événement temporel**, puis cliquez sur \[\[ **Modifier** ]] dans **Synchronisation des commandes Shopify**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.simax.fr/fonctionnelle/connecteurs-e-commerce/shopify/configuration-au-demarrage/connecteur.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
