How to register an OAuth app to connect to the Tiktok-shop API
Apideck enables you to build a native integration with Tiktok-shop. This guide explains how to configure the Tiktok connector.
Before you start, you'll need Tiktok-shop partner account
To create your Tiktok shop Partner account, follow the steps mentioned below:
- Navigate to Tiktok-shop
- Sign up on the portal by providing the details mentioned there.
- When sign up is complete, login to the partner account and follow the doc for onboarding as a developer. Make sure to register as an APP developer.
- After registering as a developer, navigate to the
App & Service
section from the left menu of the partner account.
- There will be an option to choose between
Custom App
andPublic App
. It is recommended to selectPublic App
, but you can also chooseCustom App
and convert it toPublic App
later if needed.
- Make sure to
Enable API
and keephttps://unify.apideck.com/vault/callback
as the redirect URL.
-
Click on
Create App
button after filling out the details. -
After creating the app, the page will be redirected to the app details page where you can find the
App Key
,App Secret
andService Id
.
-
Scroll below the credentials section then there will be
Basic Info
section. Click on theManage API
button. -
Enable the following APIs using search bar:
- Shop Authorized Information
- Product Basic
- Order Information
- Add the
App Key
,App Secret
andService Id
to the vault.
How to retrieve customer details, if they are hidden in the order response
- Go to your TikTok Shop seller center
- On the left menu, click on
Orders
->Shipping Templates
. Create a shipping template. - Go to
Orders
->Shipping Options
and selectSeller Shipping
.
- Orders after the updated settings will have customer details in the response.