Step 1: Add a new Carrefour Spain connection
The Carrefour Spain API uses the Mirakl platform, which means you will need a Mirakl account to start sending your product listings to Carrefour.
When you have a Mirakl Carrefour Spain account, go to "[Your company] settings menu (in the top right corner) > Connections > Add connection". Click on "+ Add a new connection" and you will see a screen, where you can select Carrefour Spain. Fill in the label for your connection, for example: Carrefour. And then click on ''Connect with Carrefour''. You will be redirected to the environment where you can log in with your Mirakl-credentials. After logging in, you will be redirected back to Channable where the connection will be available.
Step 2: Create a new Carrefour Spain API in Channable
Now go to the API's overview, in your project. Click on Add new API, Select the Carrefour Spain connection you just made, and give your new API a name.
Select the field you want to use for Unique ID per item (we recommend the 'id' field) and the Country you want to sell in. You can also add a master rule group here if you would like. Click on "Continue" to finish creating the new Carrefour Spain API.
Step 3: Create your product listings in Channable
Once you have created the Carrefour Spain API, you can set up your product data by following the steps of the API.
For your product listings to be created, your products need a category. Add categories to your products by using the generate categories feature or create new categories from scratch.
Create different rules to optimize your product listings. For example, take a look at our common rules support article.
Here you can find our preset template for the product listings. All you have to do is to fill it out by clicking on the field itself and selecting what you would like to go in there. For example, the field 'Stock' should display the stock of your product, and so on. When you have finished setting up the product listings, just click 'save' at the bottom of the screen.
Note: Carrefour asks for the Shipping Class (Logistics category) of the products, depending on the weight. You can add the Logistics Category to your products following the specifications on this chart:
Tip! Notice the question mark behind every field, if you hover over the question mark you will see the description of the field and suggestions for possible values.
Almost done! Next up is filling in the fields in the Attributes step. Select the category you want to optimize first. An example of what should be in front of you now can be seen in the screenshot below. A more detailed explanation of what to do in the Attributes step can be found in our Attributes support article.
Step 4: Send your product data to Carrefour
Almost there, your product listings are ready to be sent. If you have not activated your project, go to the Settings panel on the left-hand side of the screen and click "activate project". After, go back to the APIs overview and go to "Your Carrefour API Name" > Settings, where you activate the API by selecting "Activate API". After you have completed this step navigate back to the APIs overview and select the blue "Run now" button to send your product listings to Carrefour.
Step 5: Check your product listings for errors
If you have sent your product listings to Carrefour, go to the Preview tab of your Carrefour API. Click filter on 'error'. Now you can see which product listings have errors and are not created.