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

# Shopify

> Reconnaissez automatiquement les clients de votre boutique Shopify

## Description

Affichez l'historique de commandes et la valeur client dès qu'un acheteur de votre boutique appelle. Sync descendante (Shopify → Allo).

<Note>
  Nécessite la création d'une app privée Shopify. Suivez les étapes à la lettre.
</Note>

## Configuration

### Créer l'app Shopify

<Steps>
  <Step title="Admin Shopify">
    Settings > Apps and sales channels > Develop apps
  </Step>

  <Step title="Nouvelle app">
    Create an app (ex. « Allo »)
  </Step>

  <Step title="Scopes Admin API">
    Activez `read_customers` et `read_orders`, sauvegardez
  </Step>

  <Step title="Installer l'app">
    Install app puis **Reveal token once** (copiez immédiatement le token)
  </Step>
</Steps>

### Connecter Allo

<Steps>
  <Step title="Settings > Integrations > Shopify">
    Collez le token et votre domaine (`votre-boutique.myshopify.com`)
  </Step>

  <Step title="Sauvegarder">
    Attendez la confirmation
  </Step>
</Steps>

<Info>
  Les clients Shopify sont importés automatiquement (délai ≤10 min).
</Info>

## Fonctionnement

<CardGroup cols={2}>
  <Card title="Reconnaissance" icon="https://mintcdn.com/themobilefirstcompany/0w3bVWjKfZPY4i7y/media/integrations/Shopify.svg?fit=max&auto=format&n=0w3bVWjKfZPY4i7y&q=85&s=1357709a5cca44533206072d919164cb" width="24" height="24" data-path="media/integrations/Shopify.svg">
    Nom, email, nombre de commandes, montant total, statut client
  </Card>

  <Card title="Historique" icon="https://mintcdn.com/themobilefirstcompany/0w3bVWjKfZPY4i7y/media/integrations/Shopify.svg?fit=max&auto=format&n=0w3bVWjKfZPY4i7y&q=85&s=1357709a5cca44533206072d919164cb" width="24" height="24" data-path="media/integrations/Shopify.svg">
    Dernières commandes, montants, dates
  </Card>
</CardGroup>

<Tabs>
  <Tab title="Shopify → Allo">
    Noms, numéros, e-mails, commandes, total dépensé, nombre de commandes, statut, tags
  </Tab>

  <Tab title="Allo → Shopify">
    Aucun retour (lecture seule)
  </Tab>
</Tabs>

## Dépannage

<AccordionGroup>
  <Accordion title="Connexion échouée">
    Vérifiez le token, le domaine `.myshopify.com`, et que les scopes `read_customers` + `read_orders` sont actifs.
  </Accordion>

  <Accordion title="Token perdu">
    Supprimez l'app Shopify et recréez-en une nouvelle (token visible une seule fois).
  </Accordion>

  <Accordion title="Clients absents">
    Attendre ≤10 min, statut « Connected », numéro requis.
  </Accordion>

  <Accordion title="Infos manquantes pendant l'appel">
    Les numéros doivent correspondre exactement. Harmonisez le format (avec/ sans indicatif).
  </Accordion>

  <Accordion title="Commandes non visibles">
    Vérifiez que `read_orders` est activé. Reconnectez après mise à jour des scopes.
  </Accordion>
</AccordionGroup>

## Gestion

* **Déconnexion :** Settings > Integrations > Shopify > Disconnect
* **Révocation :** supprimez l'app privée dans Shopify

## Cas d'usage

* Support commandes : situation complète affichée instantanément
* Vip : identification des clients à forte valeur
* Retours/remboursements : accès direct aux infos de commande

## Support

<CardGroup cols={2}>
  <Card title="Support Allo" icon="https://mintcdn.com/themobilefirstcompany/4JKVqOLduvlaK6pG/media/integrations/Allo.png?fit=max&auto=format&n=4JKVqOLduvlaK6pG&q=85&s=de5eaa45a01e052c9506804098dbb8ce" href="/fr/support/contact" width="256" height="256" data-path="media/integrations/Allo.png">
    Assistance Shopify
  </Card>

  <Card title="Docs Shopify" icon="https://mintcdn.com/themobilefirstcompany/0w3bVWjKfZPY4i7y/media/integrations/Shopify.svg?fit=max&auto=format&n=0w3bVWjKfZPY4i7y&q=85&s=1357709a5cca44533206072d919164cb" href="https://help.shopify.com" width="24" height="24" data-path="media/integrations/Shopify.svg">
    Documentation officielle
  </Card>
</CardGroup>
