Skip to main content
PATCH
Configure the TikTok shop connection

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

connection_id
integer

Id of the company's TikTok connection to act on. Omit it to use the primary connection (the oldest active one, or the most recent one when none is active).

Required range: x >= 1

Body

application/json
connection_id
integer

Id of the company's TikTok connection to configure. Omit it to use the primary connection (the oldest active one, or the most recent one when none is active). It may also be sent as a query parameter.

Required range: x >= 1
tiktok_warehouse_id
string
house_member_id
string<uuid> | null

Id of the active company member to credit with TikTok orders that have no matched creator. Send null to clear the house account.

fluid_warehouse_id
integer

Id of the company's Fluid warehouse to map to the TikTok warehouse. Omit it to select a warehouse that is already mapped.

Required range: x >= 1

Response

Success

connection
object

A company's link to one TikTok Shop seller account. Never exposes the encrypted OAuth tokens themselves — only identity, status, expiry, and last_error.

status
integer
meta
object