TikTok Shop is a social commerce platform that lets sellers sell products directly on TikTok through videos, LIVE sessions, and the shop tab. TikTok Shop Partner Center is the developer platform of TikTok Shop, where sellers create apps that access their shop data through the TikTok Shop APIs.
Hevo uses the TikTok Shop APIs to replicate the order, return, cancellation, promotion, finance, and analytics data of your shop to the Destination of your choice. To connect, you create your own app in Partner Center, provide Hevo with the App Key, App Secret, and Authorization URL of the app, and then authorize Hevo to access your shop.
Supported Features
| Feature Name |
Supported |
| Capture deletes |
Yes (for some objects) |
| History mode |
No |
| Custom data (user-configured tables & fields) |
No |
| Data blocking (skip objects and fields) |
Yes |
| Resync (objects and Pipelines) |
Yes |
| API configurable |
No |
Prerequisites
-
An active TikTok Shop seller account from which data is to be ingested. The account must have passed the KYB or KYC verification of TikTok Shop and have an assigned account manager, to register as a seller developer.
-
A Custom app in TikTok Shop Partner Center, with the API scopes required by Hevo enabled.
-
The App Key, App Secret, and Authorization URL of the app are available.
-
You can log in to the main account of the TikTok Shop seller, to authorize Hevo to access your shop. Sub-accounts cannot authorize apps.
Register as a Seller Developer
To create an app, you must register in TikTok Shop Partner Center as a seller developer, with your TikTok Shop seller account. A seller developer can create apps that access only the data of their own shop. If your shop is a US local shop with a US business license, use the US Partner Center. For all other shops, use the Partner Center.
To register, follow the steps in Seller Developer Onboarding. If you are already registered, skip to Create a Custom App in Partner Center.
Create a Custom App in Partner Center
Hevo connects to your shop through an app that you create in TikTok Shop Partner Center. To create the app, follow the steps in Create your App. While you create the app, make sure that:
-
The app type is Custom, and the service category is TikTok Shop Seller.
-
Enable API is turned on, and the Redirect URL is set to https://westeros.hevodata.com/edge/oauth/callback. This URL is the same for all Hevo regions.
-
The API scopes required by Hevo are enabled for the app. Read Access scope for the steps to manage the scopes of your app.
-
The app is published. Sellers can authorize a Custom app only after it is published, as publishing generates its authorization link. Before you can publish the app, it must complete the reviews that Partner Center requires. Read Publish a custom App and App launch overview.
Scopes Required by Hevo
Your Custom app must be granted the scopes that allow Hevo to read data from your shop. Hevo requires the following types of scopes:
Mandatory Scopes
Your app must be granted the following scope for Hevo to connect to your shop. If this scope is not granted, the connection test fails when you click Test & Continue while configuring your Source.
| Scope Name |
Scope Key |
| Shop Authorized Information |
seller.authorization.info |
Optional Scopes
Grant the following scopes based on the objects for which you want Hevo to ingest data. If a scope is not granted, Hevo does not ingest data for the objects associated with it, and marks those objects as Inaccessible on the Configure Objects page.
If your app already has the FS Order&Fulfillment Management scope, Hevo uses it in place of Order Information. Similarly, Hevo uses the Customer Service scope in place of Promotion Information.
| Scope Name |
Scope Key |
Objects |
| Order Information |
seller.order.info |
orders and external_order
|
| Read External Order References |
seller.order.ext_ref.read |
external_order |
| Promotion Information |
seller.promotion.info |
coupon |
| Return & Refund Basic |
seller.return_refund.basic |
return and cancellation
|
| Finance Information |
seller.finance.info |
statement, transactions_by_statement, transactions_by_order_sku_transaction, and payment
|
| Product Basic |
seller.product.basic |
product and product_detail
|
| TikTok Shop Analytics |
data.shop_analytics.public.read |
shop_product_performance, shop_video_performance, shop_sku_performance_interval, shop_video_performance_detail_interval, and shop_live_performance
|
| Read Creator Marketplace |
seller.creator_marketplace.read |
seller_search_creator_on_marketplace and marketplace_creator_performance
|
| Read Seller Affiliate Collaboration |
seller.affiliate_collaboration.read |
seller_affiliate_order_sku |
| Partner Authorized Information |
partner.authorization.info |
category_asset, affiliate_partner_campaign_detail, and affiliate_partner_campaign_product
|
| Read Affiliate Partner Campaigns |
partner.tap_campaign.read |
affiliate_partner_campaign_detail and affiliate_partner_campaign_product
|
Note: The category_asset, affiliate_partner_campaign_detail, and affiliate_partner_campaign_product objects are read through the affiliate partner APIs of TikTok Shop, which need an access token issued to a TikTok Shop partner. Read Partner authorization guide.
Obtain the App Key, App Secret, and Authorization URL
To configure the Source in Hevo, you need the App key, App secret, and authorization link of your app. You can find these on the details page of your app in Partner Center. Read Authorization overview.
The authorization link contains the service ID of your app. For example, https://services.tiktokshop.com/open/authorize?service_id=<your service id>. For US shops, the link starts with https://services.us.tiktokshop.com. Save these values securely.
Perform the following steps to configure your TikTok Shop Partner Center Source:
-
Click Pipelines in the Navigation Bar.
-
Click + Create Pipeline in the Pipelines List View.
-
On the Select Source Type page, select TikTok Shop Partner Center.
-
On the Select Destination Type page, select the type of Destination you want to use.
-
In the Configure Source screen, specify the following:

-
Source Name: A unique name for your Source, not exceeding 255 characters. For example, TikTok Shop Partner Center Source.
-
In the Connect to your TikTok Shop account section, specify the following:
-
App Key: The App key of the Custom app that you created in TikTok Shop Partner Center. Read Obtain the App Key, App Secret, and Authorization URL.
-
App Secret: The App secret of your Custom app.
-
Authorization URL: The authorization link of your Custom app, which contains its service ID. Specify the full link. For example, https://services.tiktokshop.com/open/authorize?service_id=<your service id>. For US shops, the link starts with https://services.us.tiktokshop.com.
-
Click Authorize Your TikTok Shop Account, log in with the main account of your TikTok Shop seller, and authorize the app to access your shop. The button is available once you specify the App Key, App Secret, and Authorization URL.
-
In the Select your shop section, which appears after you authorize your account, specify the following:
-
Shop: The shop from which you want to ingest data. The list shows the shops that you authorized the app to access. If you authorized only one shop, you can leave this field blank. If you authorized more than one shop, you must select one.
-
(Optional) In the External Orders (Optional) section, which you must configure only if you want to sync the external_order object, specify the following:
-
External Order Platforms: The systems from which the external order references of your orders were added, such as Shopify or ERP System. You can select one or more platforms. Select at least one platform to ingest data for the external_order object. Hevo makes one API call for each order and each platform that you select, so select only the platforms that you use. If you change the selection later, resync the external_order object.
-
Click Test & Continue to test the connection to your TikTok Shop Partner Center Source. Once the test is successful, you can proceed to set up your Destination.
Test & Continue
When you click this button, Hevo performs the following validations:
-
The App Key and App Secret are specified, and you authorized your TikTok Shop account.
-
The Shop Authorized Information scope is granted to the app.
-
Hevo can retrieve the list of shops that you authorized, and the authorization includes at least one shop.
-
The shop that you selected is still accessible. If you did not select a shop, the authorization includes only one shop.
Data Replication
Hevo replicates data for all the objects selected on the Configure Objects page during Pipeline creation. By default, all supported objects and their available fields are selected. However, you can modify this selection while creating or editing the Pipeline. To select a child object, you must also select its parent object.
Hevo ingests the following types of data from your Source objects:
-
Historical Data: The first run of the Pipeline ingests all the historical data of the selected objects that is available through the API. For the analytics objects, such as shop_product_performance, Hevo ingests the data from January 1, 2021.
-
Incremental Data: Once the historical load is complete, Hevo ingests new and updated data as per the sync frequency:
-
orders, return, and cancellation: Hevo ingests the records created or updated since the previous run.
-
statement, transactions_by_statement, transactions_by_order_sku_transaction, and payment: Hevo ingests the data since the previous run, and also re-ingests the data of the last 2 days in each run and the last 7 days once a day, to capture late changes.
-
shop_product_performance, shop_video_performance, shop_sku_performance_interval, and shop_live_performance: Hevo re-ingests the data of the last 3 days in each run, and the last 7 days once a day, as TikTok Shop may update recent metrics.
-
external_order: Hevo ingests the external order references of the orders created or updated since the previous run.
-
coupon, shop_video_performance_detail_interval, product, and product_detail: Hevo ingests the entire data in each run.
-
seller_search_creator_on_marketplace, marketplace_creator_performance, affiliate_partner_campaign_detail, affiliate_partner_campaign_product, and category_asset: Hevo ingests the entire data in each run.
-
seller_affiliate_order_sku: Hevo ingests all the affiliate orders of your shop created since January 1, 2021, in each run, because the settlement status and commissions of an order can change long after the order is created.
Note: You can create a Pipeline with this Source only using the Merge load mode. The Append mode is not supported for this Source.
Schema and Primary Keys
Hevo uses the following schema to upload the records in the Destination. For a detailed view of the objects, fields, and relationships, click the ERD.
The primary key of most objects is id. The following objects use other primary keys:
-
shop_product_performance and shop_video_performance: id, start_date, and end_date.
-
shop_sku_performance_interval and shop_video_performance_detail_interval: The ID of the SKU or video, index, start_date, and end_date.
-
transactions_by_order_sku_transaction: order_id and index.
-
external_order: id and orders_id.
-
marketplace_creator_performance: id and profile_tt_uri.
-
seller_affiliate_order_sku: seller_affiliate_order_id and sku_id.
-
affiliate_partner_campaign_product: affiliate_partner_campaign_id and id.
-
Child objects of seller_search_creator_on_marketplace, marketplace_creator_performance, and affiliate_partner_campaign_detail: index and the ID of the parent object, for example seller_search_creator_on_marketplace_id.
-
Child objects of affiliate_partner_campaign_product: affiliate_partner_campaign_product_sku_information uses affiliate_partner_campaign_id, affiliate_partner_campaign_product_id, and sku_id. Its property and region price child objects use index, affiliate_partner_campaign_id, affiliate_partner_campaign_product_id, and affiliate_partner_campaign_product_sku_information_sku_id.
-
Child objects of product and product_detail: index and product_id. The following child objects use other primary keys:
-
product_sku, product_detail_sku, and product_detail_certification: id and product_id.
-
product_sku_inventory, product_sku_external_list_price, and product_sku_fee: index, product_id, and product_sku_id.
Data Model
The following is the list of tables (objects) that are created at the Destination when you run the Pipeline:
| Object |
Description |
| orders |
Contains the orders placed in your shop, including the buyer, recipient, delivery, payment, and fulfillment details. It includes the following child objects: - orders_package - orders_line_item - orders_line_item_tax - orders_line_item_sub_item_info |
| external_order |
Contains the references that link the orders in your shop to the orders in an external system, such as an order management system. |
| coupon |
Contains the coupons created for your shop, along with their configuration and status. It includes the following child objects: - coupon_display_channel - coupon_live_task - coupon_product_id |
| return |
Contains the return requests raised for the orders in your shop. It includes the following child objects: - return_line_item - return_sub_line_item - return_discount_amount - return_shipping_fee_amount - return_next_action |
| cancellation |
Contains the cancellation requests raised for the orders in your shop. It includes the following child objects: - cancellation_line_item - cancellation_sub_line_item - cancellation_next_action |
| statement |
Contains the settlement statements generated for your shop. |
| transactions_by_statement |
Contains the statements for which transactions are retrieved. It includes a child object, transactions_by_statement_transaction, which contains the transactions of each statement. |
| transactions_by_order_sku_transaction |
Contains the transactions of your shop at the order and SKU level. |
| payment |
Contains the automated payments made to the bank account of your shop. |
| shop_product_performance |
Contains the daily performance metrics of the products in your shop. |
| shop_sku_performance_interval |
Contains the performance metrics of the SKUs in your shop for each time interval. It includes the following child objects: - shop_sku_performance_interval_gmv_breakdown - shop_sku_performance_interval_items_sold_breakdown |
| shop_video_performance |
Contains the daily performance metrics of the videos that promote your shop. It includes a child object, shop_video_performance_product, which contains the products linked to each video. |
| shop_video_performance_detail_interval |
Contains the detailed performance metrics of each video for each time interval. It includes the following child objects: - shop_video_performance_detail_interval_sales_breakdown - shop_video_performance_detail_viewer_profile |
| product |
Contains the products in your shop, including their listing status, audit status, and tags. It includes the following child objects: - product_sku - product_sku_inventory - product_sku_external_list_price - product_sku_fee - product_sales_region - product_recommended_category - product_integrated_platform_status - product_family |
| product_detail |
Contains the details of each product in your shop, including its brand, description, package dimensions, and shipping details. It includes the following child objects: - product_detail_sku - product_detail_attribute - product_detail_audit_failed_reason - product_detail_category_chain - product_detail_certification - product_detail_delivery_option - product_detail_manufacturer - product_detail_responsible_person - product_detail_global_sku_mapping - product_detail_subscribe_discount_detail - product_detail_subscribe_promotion_config |
| shop_live_performance |
Contains the daily performance metrics of the LIVE sessions of your shop. |
| seller_search_creator_on_marketplace |
Contains the creators listed in the TikTok Shop Creator Marketplace, along with their follower count and GMV metrics for the last 30 days. It includes the following child objects: - seller_search_creator_on_marketplace_age_range - seller_search_creator_on_marketplace_category |
| marketplace_creator_performance |
Contains the performance details of each creator of the Creator Marketplace, including their followers and content performance. It includes the following child objects: - marketplace_creator_performance_category - marketplace_creator_performance_category_gmv_distribution - marketplace_creator_performance_content_gmv_distribution - marketplace_creator_performance_follower_age - marketplace_creator_performance_follower_gender - marketplace_creator_performance_follower_location - marketplace_creator_performance_top_brand |
| seller_affiliate_order_sku |
Contains the SKUs of the affiliate orders of your shop, including their settlement status and commissions. |
| affiliate_partner_campaign_detail |
Contains the affiliate partner campaigns of the category assets authorized for your app. It includes a child object, affiliate_partner_campaign_target_shop, which contains the target shops of each campaign. |
| affiliate_partner_campaign_product |
Contains the products of each affiliate partner campaign. It includes the following child objects: - affiliate_partner_campaign_product_sku_information - affiliate_partner_campaign_product_sku_information_property - affiliate_partner_campaign_product_sku_information_region_price |
| category_asset |
Contains the business category assets that the partner has authorized for your app. |
Read the detailed Hevo documentation for the following related topics:
Handling of Deletes
For the coupon, shop_video_performance_detail_interval, product, product_detail, seller_search_creator_on_marketplace, marketplace_creator_performance, seller_affiliate_order_sku, affiliate_partner_campaign_detail, affiliate_partner_campaign_product, and category_asset objects and their child objects, Hevo uses a full data refresh approach to capture delete actions. If a record exists in the Destination but is no longer returned by the Source, the record is marked as deleted by setting the value of the metadata column __hevo__marked_deleted to True. For these objects, if Hevo cannot read all the records in a run, for example, because of an API error or a rate limit, it does not mark any record as deleted in that run.
For all the other objects, Hevo does not capture deletes. For example, a cancelled order remains in the Destination with its updated status.
Source Considerations
-
Each Pipeline ingests data from one shop. To ingest data from multiple shops, create a Pipeline for each shop.
-
If an API scope is not enabled for your app, Hevo does not ingest the objects that need that scope. To ingest these objects, enable the scope for the app in Partner Center, and then modify the Source configuration to authorize your account again.
-
The access to your shop is valid for the authorization duration that you grant when you authorize the app. Once it expires, or if you revoke the authorization, the Pipeline fails. To resume data ingestion, modify the Source configuration and authorize your account again.
-
TikTok Shop does not provide payment data for shops in Southeast Asian markets. For these shops, the payment object contains no data.
-
In each run, Hevo ingests the entire data of the shop_video_performance_detail_interval object and its child objects from January 1, 2021. This increases the duration of each run and the number of API calls, and Hevo displays a warning for the object. Deselect the object if you do not need it.
-
For the external_order object, Hevo makes one API call for each order and each external order platform that you select. Hevo ingests the references only for the orders created or updated since the previous run. To ingest the references added to an order that is not updated, resync the object. Hevo displays a warning for this object, as the first run for a shop with many orders can take a long time. Deselect the object if you do not need it.
-
TikTok Shop applies dynamic API rate limits, which depend on factors such as the number of authorized shops and the load on the API. If a limit is exceeded, Hevo retries the request. If the limit is still exceeded, Hevo ingests the object in the next run. Read Rate limits.
-
For the product_detail object, Hevo first retrieves the list of products and then makes one API call for each product in your shop in every run. If your shop has many products, this increases the duration of each run and the number of API calls. Deselect the object if you do not need it.
-
The seller_search_creator_on_marketplace object contains all the creators listed in the TikTok Shop Creator Marketplace, not only the creators who work with your shop. For the marketplace_creator_performance object, Hevo makes one API call for each of these creators in every run. This increases the duration of each run and the number of API calls. Deselect these objects if you do not need them.
-
For the seller_affiliate_order_sku object, Hevo reads all the affiliate orders of your shop since January 1, 2021, in every run. If your shop has many affiliate orders, this increases the duration of each run and the number of API calls. Deselect the object if you do not need it.
-
If you added an IP allow list to your app in Partner Center, add Hevo’s IP addresses for your region to it. Otherwise, TikTok Shop blocks the requests from Hevo.
Limitations
- For the analytics objects, Hevo does not ingest the data before January 1, 2021.