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:

  1. Navigate to Tiktok-shop
  2. Sign up on the portal by providing the details mentioned there.
  3. 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.
  4. After registering as a developer, navigate to the App & Service section from the left menu of the partner account.

App & Service

  1. There will be an option to choose between Custom App and Public App. It is recommended to select Public App, but you can also choose Custom App and convert it to Public App later if needed.

App Type

  1. Make sure to Enable API and keep https://unify.apideck.com/vault/callback as the redirect URL.

App Details

  1. Click on Create App button after filling out the details.

  2. After creating the app, the page will be redirected to the app details page where you can find the App Key, App Secret and Service Id.

App Details

  1. Scroll below the credentials section then there will be Basic Info section. Click on the Manage API button.

  2. Enable the following APIs using search bar:

  • Shop Authorized Information
  • Product Basic
  • Order Information
  1. Add the App Key, App Secret and Service Id to the vault.

How to retrieve customer details, if they are hidden in the order response

  1. Go to your TikTok Shop seller center
  2. On the left menu, click on Orders -> Shipping Templates. Create a shipping template.
  3. Go to Orders -> Shipping Options and select Seller Shipping.

Seller Shipping

  1. Orders after the updated settings will have customer details in the response.