> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/list-advertise/list-and-advertise-fr/commandes/connexions-de-commandes/plateformes-ecommerce-prises-en-charge-pour-les-termes-et-conditions-en-anglais-de-commande/comment-a-configurer-vers-le-haut-lapi-channable-pour-une-commande-de-connexion.md).

# Comment A configurer vers le haut l'API Channable pour une Commande de connexion

Comment A configurer le plugin Commandes Channable en Magento 2 ?

Utilisez l’API Channable lorsque votre plateforme de webshop n’est pas prise en charge pour Commande Sync. Vous construisez l’intégration dans votre propre backend. Channable gère toujours la partie marketplace de la connexion de Commande.

La référence de l’API se trouve à [api.channable.com](https://api.channable.com/v1/docs).

***

### <i class="fa-memo-circle-check">:memo-circle-check:</i> Avant de commencer

**Vous aurez besoin de**

* Le module complémentaire de synchronisation de Commande
* [Une marketplace compatible](/list-advertise/list-and-advertise-fr/commandes/connexions-de-commandes/marketplaces-prises-en-charge-pour-les-termes-et-conditions-en-anglais-de-commande.md)
* Accès propriétaire (requis pour générer le jeton)

**Bon à savoir**

* Il s’agit d’un processus technique qui nécessite souvent l’aide d’un développeur ou d’une développeuse.
* L’API Channable peut se connecter à n’importe quelle plateforme e-commerce

{% stepper %}
{% step %}

### Générez un jeton API Channable

1. Ouvrir **Paramètres entreprise**:

{% tabs %}
{% tab title="Version moderne" %}

<figure><img src="https://4114378255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8GepmoSonQRG6RnHOxJ%2Fuploads%2FFKAkbYMNwRFrQZ4LUdCw%2Fgenerate-token.png?alt=media&amp;token=31089fb4-5e58-4933-aa69-e4c3cb573d47" alt=""><figcaption></figcaption></figure>

Dans le menu déroulant de l’entreprise, sélectionnez **Paramètres entreprise**. Puis ouvrez **API Channable**.
{% endtab %}

{% tab title="Version classique" %}
![](https://4114378255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8GepmoSonQRG6RnHOxJ%2Fuploads%2FSzbIU0ITCRPJ1Xtbxeu6%2Funknown.png?alt=media\&token=f99645ed-aee1-4eb6-be68-cfd8915f5177)

1. Dans la barre latérale, lorsque vous êtes dans l’entreprise, sélectionnez **Paramètres entreprise > API Channable**.
2. Cliquez sur **Générer le jeton**.
3. Cliquez sur <i class="fa-clipboard">:clipboard:</i> pour copier votre jeton.
   {% endtab %}
   {% endtabs %}
   {% endstep %}

{% step %}

### Configurez votre backend pour utiliser votre nouveau jeton

La documentation technique pour implémenter l’API Channable se trouve [ici](https://api.channable.com/v1/docs).

{% hint style="info" %}
**Remarque :** Il s’agit d’un processus technique qui nécessite souvent l’aide d’un développeur ou d’une développeuse.
{% endhint %}
{% endstep %}

{% step %}

### Envoyer un test > Envoyer une commande test

L’envoi d’une commande test vérifie si Channable peut envoyer et recevoir des informations avec succès depuis votre backend. Cela ne vérifie pas s’il peut recevoir des informations depuis vos canaux marketplace.

{% hint style="warning" %}
**Important :** Assurez-vous que l’ID produit fourni correspond à l’ID unique de vos Produits dans votre webshop.
{% endhint %}

1. Accédez à **Installation > connexions de Commande**.
2. Pour **plateforme**, sélectionnez API Channable.
3. Pour **Canaux**, sélectionnez Channable Sandbox.
4. Cliquez sur **Sauvegarder**.
5. Cliquez sur **Envoyer un test > Envoyer une commande test**.
6. Fournissez les informations suivantes :
7. **ID produit :** Renseignez l’ID produit d’un Produit de vos Produits importés. *Cet ID doit être le même ID unique utilisé pour ce Produit dans votre webshop.*

{% hint style="info" %}
**Remarque :** Vous pouvez tester plusieurs Produits en séparant vos ID par des virgules.
{% endhint %}

8. **Pays :** Sélectionnez un pays dans lequel vous vendez ce Produit.
9. Cliquez sur **Envoyer une commande test**. Channable effectuera le test à l’aide d’informations produit aléatoires (par exemple le prix, la description).
   {% endstep %}
   {% endstepper %}

Si le test réussit, votre commande test apparaîtra dans votre compte Channable. Si vous recevez un message d’erreur ou si vous ne parvenez pas à envoyer une commande test, veuillez [contacter notre équipe d’assistance technique](https://app.gitbook.com/o/QRs4Yua0yRsGzJScLQzF/s/UAGSVlvcNsqEqVUgr0tD/contact-support).


---

# 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://helpcenter.channable.com/list-advertise/list-and-advertise-fr/commandes/connexions-de-commandes/plateformes-ecommerce-prises-en-charge-pour-les-termes-et-conditions-en-anglais-de-commande/comment-a-configurer-vers-le-haut-lapi-channable-pour-une-commande-de-connexion.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.
