# Cdiscount

Follow the steps below to connect your Cdiscount seller account to Linkolis and automatically import your orders.

***

### Prerequisites

Before you start, make sure you have:

* An active **Cdiscount seller account**
* Access to the **Octopia API Credentials portal** ([developer.octopia-io.net](https://developer.octopia-io.net/user-guides/api-credentials/))
* Your Cdiscount seller account login credentials

***

### Step 1 — Generate your API credentials on Octopia

Cdiscount uses the **Octopia REST API** to connect third-party tools. You need to generate a **Client ID** and **Client Secret**, then link them to your seller account.

#### 1.1 — Go to the API Credentials portal

<figure><img src="/files/Doy2ZEceGBbWU4pqBfmJ" alt=""><figcaption></figcaption></figure>

Go to [developer.octopia-io.net/user-guides/api-credentials](https://developer.octopia-io.net/user-guides/api-credentials/) and click **I'M USING A FEED AGGREGATOR**.

#### 1.2 — Select your connection method

<figure><img src="/files/aBhkk9nhDiy9oafeZTXO" alt=""><figcaption></figcaption></figure>

Click **My aggregator requires a clientId, clientSecret and SellerID**.

> This is the method required by Linkolis. The REST API requires 3 credentials: Client ID, Client Secret, and Seller ID.

#### 1.3 — Create your Client ID

<figure><img src="/files/xQZ9Jw62e0OGTw16bGgI" alt=""><figcaption></figcaption></figure>

On the **Client ID** step, fill in the form:

* **Client ID**: Choose a name for this integration. Use simple characters, letters, digits and dashes. A good format is your company name or shop name (e.g. `worldglobalservices-linkolis`). Rules:
  * Must start with a letter
  * Must end with a letter or a digit
  * Can contain letters, digits, spaces, dashes and @ sign
  * Must be between 8 and 80 characters
  * Cannot be your Octopia account email
* **Email**: Enter a valid email address — this can be used later to retrieve lost credentials
* Check the **Terms & Conditions** checkbox

Click **Next**.

#### 1.4 — Save your Client ID and Client Secret

Once generated, your credentials are displayed:

<figure><img src="/files/0vx4gBFLEy6nJL7YrNTZ" alt=""><figcaption></figcaption></figure>

> **⚠️ Critical:** These credentials will **not be shown again**. Copy and store them securely before clicking **Proceed with seller authentication**.

Check **"Yes, I saved those credentials"** then click **Proceed with seller authentication**.

#### 1.5 — Link your credentials to your seller account

<figure><img src="/files/h3NA9AnxWRVg5TO0HSCQ" alt=""><figcaption></figcaption></figure>

A confirmation screen appears showing your **Seller ID** and asking you to confirm the account delegation:

> *"Are you sure you want to delegate your account access to clientId: \[your clientId] on your SellerID \[your ID]?"*

Click **Yes, continue**.

> If the wrong seller account is shown, click **Switch user** to log in with the correct account.

#### 1.6 — Confirm the account linking

A green confirmation banner appears:

<figure><img src="/files/zUwdBxQ32Ef2rJIyQFh1" alt=""><figcaption></figcaption></figure>

> *"Account linking complete. You can now login and use our REST APIs."*

Your **Seller ID** is displayed (e.g. `410698`). Note it down — you will need it in Linkolis.

***

### Step 2 — Find your Seller ID

<figure><img src="/files/UUDO2OszX4rHJg761vuF" alt=""><figcaption></figcaption></figure>

Your **Seller ID** is also visible at any time in your Cdiscount seller portal: click your account name in the top-right corner — the Seller ID is displayed at the bottom of the dropdown menu (e.g. **ID Vendeur : 410698**).

***

### Step 3 — Open the Apps section in Linkolis

<figure><img src="/files/5K6uZDZrBFxs4FZUWVJK" alt=""><figcaption></figcaption></figure>

From the left sidebar, click **Apps**. You will land on the **My Applications** page.

***

### Step 4 — Open the application catalogue

Click the **+** button in the top-right corner to open the **All Applications** catalogue.

***

### Step 5 — Install the Cdiscount app

Find **Cdiscount** in the catalogue and click **Install**. A configuration panel will slide open on the right side of the screen.

***

### Step 6 — Fill in the installation form

<figure><img src="/files/92zEeDgR9ZIerdfWvm3Z" alt=""><figcaption></figcaption></figure>

| Field                            | Description                                                                                   |
| -------------------------------- | --------------------------------------------------------------------------------------------- |
| **Application name**             | A display label for this integration. Defaults to "Cdiscount".                                |
| **Your Cdiscount Seller ID**     | Your seller ID as shown in your Cdiscount account menu (e.g. `410698`).                       |
| **Your Cdiscount Client ID**     | The Client ID generated in Step 1 (e.g. your company or shop name).                           |
| **Your Cdiscount Client Secret** | The Client Secret generated in Step 1. Keep this value secret and never share it.             |
| **Synchronization stock update** | When enabled, Linkolis will automatically sync inventory levels with your Cdiscount listings. |

Once all fields are filled in, click **Confirm**.

***

### Step 7 — Verify the connection

The Cdiscount app will appear in your **My Applications** list. Click the wrench icon to open the configuration panel. A blue **"Module installed correctly"** banner at the top confirms the integration is active.

***

### What happens next?

Once connected, Linkolis will automatically:

* **Import new orders** from your Cdiscount store
* **Update stock levels** on Cdiscount in real time (if synchronization stock update is enabled)

You can edit or delete the integration at any time from the **My Applications** page using the wrench (edit) or trash (delete) icon.

***

### Troubleshooting

**I lost my Client Secret** The Client Secret is only displayed once during creation. If you lose it, go back to [developer.octopia-io.net](https://developer.octopia-io.net/user-guides/api-credentials/), create a new Client ID, and repeat the linking process.

**The wrong seller account was linked** During Step 1.5, click **Switch user** to log in with the correct Cdiscount seller account before confirming the delegation.

**"Module installed correctly" banner does not appear** Double-check that your Seller ID, Client ID, and Client Secret are all entered correctly. Update them via the wrench icon if needed.

**Stock is not updating on Cdiscount** Verify that the **Synchronization stock update** checkbox is enabled in the configuration panel. Stock sync is opt-in and disabled by default.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.linkolis.com/apps-and-integrations/cdiscount.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
