Search
Duplicate

TikTokShop API Instruction

Why we use the API and What is the API?

If you want to process your sales order remotely via Smartship, you will be required to link your sales site with Smartship through API integration. Once you link your accounts, Smartship can pull the sales orders, confirm order and update tracking information accordingly.
Whenever Smartship calls the API of the Sales site, it is required to get the authorization for access. And the sales site will generate the ‘API Key’ to each account and it works as the credentials. Thus Smartship will ask your ‘API Key’ instead of Login credentials.
This documents will explain how to set API integration with TikTokShop and how it works.
Requirements
Smartship requires below information to access your TikTokShop orders.
Shop ID : TikTokShop seller ID

Setting up TikTokShop API for Smartship

1. Integration with TikTokShop in Smartship

Path : Smartship > Order > Sales Site API > API Setting
You can set up API integration by following the steps below.
1.
After entering the Sales Site API settings page, Click the "New registration" button at the top.
2.
Select "TikTokShop" Logo and please scroll to the "Sales Site Linkage Registration".
3.
Shop ID : Input your TikTokShop ID and press the [Get Auth] button.
4.
New window will be opened to login, enter cell phone number you used to sign up for TikTok Shop and ID and PW and press the [Submit] button to return to the Smartship page.
5.
Select the option related to processing your order and click the [Register] button to complete the setup.
Please also select other options. Details can be found below.

API connection settings options

We request to set your order processing options for your work efficiency. Here are the basic options you can set.
Automatic Order Integration
Automatic Order Confirmation
Automatic Fulfillment Shipping Instructions
Automatic Stock Qty Sync

Check API settings information

After registration the API, you can test connection to verify.
Click the [Test Connection] button to verify that the connection is successful.

Collectable TikTokShop Order Status

Smartship pulls orders with, "TO SHIP & Waiting Ship” status, among sales orders from TikTokShop.
If the waybill is printed or make status changed after delivery starting, then Smartship can’t get the correct info.
In this case, you must create shipping orders at Smartship by manually.

Connecting SKU to the product sold (When using Fullfillment)

If you want to use Auto Stock Qty Sync and fulfillment services, please connect the Smartship SKU to the TikTokShop product.
Path: TikTok Seller Shop> Products > Manage Products
1.
In your TikTokShop product managing page, input the value to “Seller SKU”to map with.
Path : Smartship > Inventory > SKU Management
1.
Move to Smartship SKU Management menu.
2.
In the SmartShip SKU, enter the same product code that you entered in 1. How to set option management code on sales site.
For a single product with no options
Register a SKU of a single option type, and enter a 'Seller defined code'.
For multi-product with options
Enter ‘Seller defined code’ in the ‘Option SKU Info’ tab.
If you're registering and mapping a large number of products, it's helpful to include your "SKU Seller Management Code" when uploading to Excel.
3. Once the above is done, it will be created as a fulfillment order from the time the order is linked, and the inventory quantity will be synchronized at the time of shipment.