ACTION REQUIRED: Migrate your CDiscount API to CDiscount V2 before March 31st, 2025.
As part of CDiscount’s transition to Octopia, all CDiscount APIs must migrate to CDiscount V2 before March 31. This migration is required as existing CDiscount APIs will stop working after this date.
The new Octopia API improves speed and stability and provides significantly better error messages for offers and products.
Contents:
- Step 1: Find and note your seller credentials
- Step 2: Find and note your Seller ID
- Step 3: Create a new connection
- Step 4: Migrate your API
- Step 5: Map categories
- Step 6: Map attributes
-
Step 7: Activate your API and resolve errors
Before you start
You’ll need:
Step 1: Find and note your seller credentials
- Sign in to your Octopia seller account.
- Open the API Credentials Management page.
- Click ‘I’m using a Feed aggregator’ > My aggregator requires a clientId, clientSecret and SellerId.
- Provide your client Id and a valid email address.
- Click the checkbox to accept the Terms & Conditions.
- Click Confirm Client Id and email.
- Make note of your ClientId and ClientSecret, as you will need these later.
- Click the checkbox to confirm you saved your credentials and click Proceed with seller authentication.
- Click Yes, continue when asked to delegate your account access to the client id you provided.
Step 2: Find and note your seller ID
- In your seller center, click Settings. Make note of your Seller ID, as you will need it later.
Step 3: Create a new connection
- Navigate to [Your project] > APIs.
- Click +Add new API. This will redirect you to your company's connections page.
- On the connections page, select +Add a new connection.
- Search for the "CDiscount V2" connection by clicking through the pages and select it by clicking on it.
- Fill in your connection details.
- For Label, add a descriptive name for your connection (e.g. CDiscount V2)
- For Client ID, fill in your client id obtained in Step 1.
- For Client secret, fill in your ClientSecret you obtained in Step 1.
- For Seller ID, fill in the Seller ID you noted from Step 2.
- Click Connect with Cdiscount V2.
Step 4: Migrate your API
- In [Your project], go to APIs and select [Your CDiscount API].
- In [Your CDiscount API], go to the Settings step and click ⚠ Migrate your API.
- In the sidebar, click APIs. You should see your new CDiscount V2 API.
Step 5: Map categories
- In your new migrated API, go to the Categories step.
- Manually categorize any products that weren’t automatically migrated.
- Click Save.
Step 6: Map attributes
-
Go to the Build step.
-
In the ‘Shared attributes’ tab, ensure all fields marked as required by the marketplace are mapped to the appropriate field from your data.
- If you’re uploading new product data that doesn’t exist on CDiscount, fill in the fields marked as Recommended.
- At the Shipping information section, click + Add.
- At Delivery Type, make sure you’ve chosen your delivery type. You are required to have a shipping information row with the delivery type Tracked.
- For Shipping cost, select an appropriate field or create one if it doesn’t exist yet.
-
Click Save.
-
Go to the ‘Attributes per category’ tab and fill in all mandatory fields.
-
Go to the Quality step.
-
Review and resolve any items flagged with errors.
Step 7: Activate your API and resolve errors
- When you’re ready to launch, return to the Settings step and click Activate API.
- Click Run now to send your product listings to CDiscount.
- Go to the Result step to check if any products have errors. You can click on an error to get an error overview.
- On the Attributes page, click the ‘?’ tooltip to learn more about the accepted values, or click the field and select Static values to view a list of acceptable inputs.
Step 8: Migrate your order connection
If you also have a CDiscount order connection, you’ll need to migrate it as well.
To do this:
- Go to Setup > Orders. In your CDiscount order connection, click Settings.
- Click Upgrade your Order Connection.
- Select the same V2 connection you used in Step 3 and click Migrate.