Other tools

Sync costs from CJ Dropshipping

Updated

Create an API key in CJ and connect it under Connections › Cost sources. ROASaurus reads the product and shipping cost of every paid CJ order and matches it to your store order by its name (such as #1001).

What ROASaurus reads

For every paid CJ order: the product cost and the shipping cost CJ charged, from the CJ order list. Each supplier cost replaces the estimated product cost (COGS) of that order, so profit per order, product, campaign and customer uses what you actually paid. Orders without a supplier cost keep the estimate from your product costs, so set those too for products you fulfil yourself.

ROASaurus checks for new supplier orders every hour. A cost that arrives before ROASaurus has seen the store order waits under Not matched to an order yet and is matched as soon as the order comes in.

Before you start

  • An account at CJ Dropshipping with the orders of this store, and permission to create API credentials there.
  • The owner or admin role in ROASaurus (members cannot change cost sources).
  • The store connected in ROASaurus, so the supplier orders have store orders to match.

Steps

  1. Get your CJ Dropshipping credentials

    In CJ, open My CJ › Authorization › API and copy the API Key.

  2. Open Cost sources

    In ROASaurus, select the store and open Connections › Cost sources. Supplier connections are listed under Supplier costs.

    The ROASaurus Mac app showing Connections: every connected tool with its status. Fictional demo store, simulated data.
    The ROASaurus iPhone app showing Connections: every connected tool with its status. Fictional demo store, simulated data.
    Connections in the Mac and iPhone apps (fictional demo store): every tool the store sends data to or reads from, with its status.
  3. Connect CJ Dropshipping

    Click Connect CJ Dropshipping, paste the API key, choose how many days of history to import (60 by default, at most 365) and click Save and connect.

    You should see: “Connected CJ Dropshipping. Imported n records.” and the card with Last sync and imports hourly.

  4. Check the matches

    Open the CJ Dropshipping card. CJ orders carry your store order name (#1001); ROASaurus matches them hourly.

    You should see: The records of the last 90 days, how many are matched to orders, and the total amount.

What you should see

Profit › Orders › Profit per order shows the supplier cost as the order's product cost, and Profit › Products and Profit per campaign use it from the next report.

Common problems

“Could not connect CJ Dropshipping: …” or “Saved, but the test call failed: …”
CJ Dropshipping refused the credentials. Copy them again (no spaces), check the permission they need, and connect again. The message after the colon is CJ Dropshipping's own answer.
Costs stay under “Not matched to an order yet”
The supplier order does not carry the store order reference ROASaurus expects, or the store order has not arrived yet. Check the reference on one order at the supplier, and check that the store connection receives orders.
“Last sync failed: …”
The credentials expired or were removed at the supplier. Create new ones and connect again; costs already imported stay.

Next step

A cost source completes the Set up costs step of Getting started.

Back to the setup checklist

Still stuck? Email us.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.