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

# Shopify

# **PRÉPARATION**

1. Identifiez le nom technique de votre « store » sur Shopify

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-1.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=d87a3989e63bc4af074a4dd52e30a345" alt="" width="1276" height="1394" data-path="images/help/shopify/shopify-fr-1.png" />

# CONNEXION

**Étape 1 :** Choisissez un nom pour votre connexion (informatif).

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-2.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=1777a2d3b84ecfb63b997ede94467801" alt="" width="966" height="192" data-path="images/help/shopify/shopify-fr-2.png" />

**Étape 2 :** Saisissez le nom technique de votre store, trouvé précédemment sur votre compte.

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-3.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=b11052249401e7e9e69e685d69ef5373" alt="" width="976" height="188" data-path="images/help/shopify/shopify-fr-3.png" />

**Étape 3** : (**Facultatif**) Saisissez le client id / client secret de votre app. Si ceux-ci vous sont demandés, veuillez vous rendre à la section « **Configuration - Custom app** » plus bas dans ce guide. Sinon, continuez à l'**étape 4a.**

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-4.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=0eee34df31c22c7e885c799edf874d60" alt="image.png" width="974" height="316" data-path="images/help/shopify/shopify-fr-4.png" />

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-5.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=2495c6196b152ba16b50c1b2ffda535c" alt="image.png" width="246" height="120" data-path="images/help/shopify/shopify-fr-5.png" />

**Étape 4a :** Cliquez sur « Authorise » pour finaliser la connexion.

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-6.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=3a72e11c8d3327397946b569c7c10a36" alt="" width="1600" height="1153" data-path="images/help/shopify/shopify-fr-6.png" />

**Étape 5a :** Choisissez le store Shopify à connecter

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-7.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=c48f2c7d9bed9c5f3a088a6997d0a29c" alt="" width="1600" height="768" data-path="images/help/shopify/shopify-fr-7.png" />

**Étape 6a :** Installez l'app de votre partenaire que vous souhaitez connecter à Shopify.

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-8.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=6165aa4b797214c16d3c8497fe4d17b9" alt="" width="1600" height="613" data-path="images/help/shopify/shopify-fr-8.png" />

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-9.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=5212b32edab1ab7cd0b2fd327cce67b0" alt="" width="1600" height="503" data-path="images/help/shopify/shopify-fr-9.png" />

### Configuration - custom app

Ne suivez ces étapes que si un client id et un client secret vous sont demandés.

**Étape 4b :** Rendez-vous sur le Dev Dashboard ([https://dev.shopify.com/dashboard](https://dev.shopify.com/dashboard)) et suivez les étapes décrites dans cet article pour activer et créer une custom app :

* [https://shopify.dev/docs/apps/build/dev-dashboard/create-apps-using-dev-dashboard](https://shopify.dev/docs/apps/build/dev-dashboard/create-apps-using-dev-dashboard)

  * Les scopes suivants sont nécessaires :

    * read\_orders
    * read\_all\_orders (si vous devez récupérer des commandes datant de plus de 60 jours). Notez que si vous créez l'app en tant que partenaire du marchand, vous devrez obtenir un accès supplémentaire via le partner dashboard, voir la documentation : [https://shopify.dev/docs/api/usage/access-scopes#orders-permissions](https://shopify.dev/docs/api/usage/access-scopes#orders-permissions). Une fois cela fait, vous pourrez voir « read\_all\_orders » parmi les scopes disponibles (rafraîchissez la page si nécessaire)
    * read\_returns
    * read\_discounts
    * read\_products
    * read\_customers
  * L'url de redirection est la suivante « **[https://chift.app/oauth2/redirect](https://chift.app/oauth2/redirect)** ».
* Vous ne devez pas installer l'application.

Voici quelques captures d'écran illustrant les étapes :

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-10.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=b0ffdb2f4c52539a6d4438104b6b291f" alt="image.png" width="1600" height="344" data-path="images/help/shopify/shopify-fr-10.png" />

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-11.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=62e9a0360a8554e3a28a1181fc371b73" alt="image.png" width="1582" height="1538" data-path="images/help/shopify/shopify-fr-11.png" />

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-12.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=83c29a190be69301ced652c3e34e7a80" alt="image.png" width="1570" height="1550" data-path="images/help/shopify/shopify-fr-12.png" />

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-13.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=3b3e0cd964b2af020f781d265609e126" alt="image.png" width="1600" height="569" data-path="images/help/shopify/shopify-fr-13.png" />

**Étape 5b :** Cliquez sur « Settings » dans le menu de gauche. Copiez le « Client id » / « Secret »

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-14.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=23ebef98ed385cf7bb8c092f320eeff2" alt="image.png" width="1600" height="569" data-path="images/help/shopify/shopify-14.png" />

**Étape 6b :** Collez le client id / client secret dans les champs respectifs et cliquez sur « Authorise ». Vous serez redirigé et invité à installer l'application. Veuillez poursuivre pour réussir l'installation.
