This is a separate connector from TikTok Shop, which brings orders, products, finance and LIVE analytics. TikTok Shop only grants the affiliate permission to a different kind of app, so the affiliate data needs its own source and its own authorization. You can use both at the same time.
Configuring TikTok Shop Affiliates as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the TikTok Shop Affiliates option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
You’ll need to authorize Nekt to read your shop’s affiliate data. You don’t need to register anything in the TikTok Shop Partner Center: Nekt has its own app there, and you simply grant it access to your shop. Click on the Authorization button. You’ll be redirected to TikTok Shop, where you need to be signed in to the Seller Center account that owns the shop (the main account, or a sub-account with permission to manage affiliates). There you’ll:- Confirm the shop the authorization applies to, choose the access duration (we recommend Unlimited, so the connection doesn’t stop working on a fixed date) and enter a contact email, then click Confirm installation.
- Review the permissions Nekt is requesting (affiliate collaboration information and shop information), accept the acknowledgement, and click Authorize.
- Initial sync date: The earliest order creation date read by the Affiliate Orders table on the first sync and on every full sync. If not provided, all the history TikTok Shop keeps is read.
- Affiliate orders lookback (days): (Default:
7) How many days before the last synced order the Affiliate Orders table re-reads on each sync, to catch orders TikTok Shop attributes to a creator a few days late. - Settlement tracking (days): (Default:
90) How many days after its creation an affiliate order that is not settled yet keeps being re-read, so its settlement status and actual commission are updated. - Shop cipher: The encrypted identifier of a single shop. Leave it empty to sync every shop the authorization covers: the connector finds the shops automatically.
- Shop ID: The shop identifier written in the rows. Only used when a shop cipher is set manually.
Don’t have access to the TikTok Shop account yourself? Use the Share link option at the top of this step to send the authorization to whoever manages the shop: they complete it without needing a Nekt account.
2. Select streams
Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis.Tip: The stream can be found more easily by typing its name.Select the streams and click Next.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
- Incremental: every time the extraction happens, we’ll get only the new data, which is good if, for example, you want to keep every record ever fetched.
- Full table: every time the extraction happens, we’ll get the current state of the data, which is good if, for example, you don’t want to have deleted data in your catalog.
4. Configure data source
Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
5. Check your new source
You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.Streams and Fields
Available streams
The table below lists every stream, its slug (the exact identifier to pass when creating the source via API) and a short description. Every stream needs the affiliate collaboration permission that the authorization above grants.Fields by stream
Affiliate Orders
Affiliate Orders
One row per order item (SKU) attributed to a creator or an affiliate partner. Synced incrementally by
create_time; orders that are not settled yet are read again on every sync until they are (see Implementation Notes).Open Collaborations
Open Collaborations
Products in an open collaboration: any creator can promote them for the commission shown. Read in full on every sync. Collaborations you removed and that already expired are not returned.
Open Collaboration Creators
Open Collaboration Creators
Creators promoting each product of an open collaboration. Read in full on every sync (one request per product).
Target Collaborations
Target Collaborations
Invitations you sent to selected creators. Read in full on every sync, in every status.
Target Collaboration Products
Target Collaboration Products
Products of each target collaboration, with the commission offered. Read in full on every sync.
Target Collaboration Creators
Target Collaboration Creators
Creators invited to each target collaboration. Read in full on every sync.
Sample Applications
Sample Applications
Free-sample requests from creators. Read in full on every sync.
Data Model
Use Cases for Data Analysis
TikTok Shop does not offer a per-creator performance report through its API for every market, so creator results are computed from the affiliate orders. Replace the table names with the ones you chose in step 3.1. Sales and commission by creator per month
2. Did the samples turn into sales?
Implementation Notes
- Commission settlement. The commission of an affiliate order is estimated first and settled weeks later (or becomes ineligible after a return). TikTok Shop only lets the connector search orders by creation date, so each sync reads again every order from the oldest one not settled yet. An order still not settled after Settlement tracking (days) stops being read with a warning; run a full sync of Affiliate Orders to refresh it.
- Full sync. A full sync of Affiliate Orders reads all the history again (from the Initial sync date, or from the start when it is empty), so it is safe to run. The whole history is read before the table is replaced, so a failed full sync keeps the previous table.
- Creator identity. Affiliate orders carry the creator’s username, not an internal creator ID. The collaboration and sample tables carry the Creator Open ID when TikTok Shop sends it (not in every market).
- Full table streams. Collaborations, their products and creators, and sample applications are read in full on every sync. They are read completely before anything is written, and the listing is checked against the total TikTok Shop reports, so a sync that cannot read a table completely fails that table and keeps its previous copy.
- Target collaborations you cannot open. For some target collaborations TikTok Shop does not give the shop the details. They are listed in Target Collaborations, but their products and creators are missing, with a warning naming them.
- Permissions. Before reading anything, the connector checks that the authorization can read the affiliate data. Tables it cannot read are skipped with a warning; reconnect the source from the account that owns the shop to grant the permission.
- Multiple shops. A single authorization can cover more than one shop. Every row carries a
shop_id. - Rates and amounts. Commission rates are in percent. Amounts are numbers in the currency of the
_currencycolumn next to them. - Rate limits. When TikTok Shop throttles a request, the connector waits and retries automatically, which can make an extraction take longer.