> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/ecommerce/tiktok-shop.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# TikTok Shop

TikTok Shop lets sellers sell on TikTok. Manage products, orders, shipping, returns and refunds.

![TikTok Shop logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-97846a55607e42d61656cec441858deae3ed419d%2Ftiktok-shop.png?alt=media)

|                    |                                                                                |
| ------------------ | ------------------------------------------------------------------------------ |
| **Category**       | [E-commerce](https://docs.fastn.ai/connectors/catalog/ecommerce.md)            |
| **Website**        | [tiktokglobalshop.com](https://tiktokglobalshop.com)                           |
| **Authentication** | OAuth 2.0                                                                      |
| **Slug**           | `tiktokShop`                                                                   |
| **On fastn.ai**    | [Embed TikTok Shop in your product](https://fastn.ai/integrations/tiktok-shop) |

## Setup

Your customers sign in to TikTok Shop through Fastn's own OAuth app, so nothing needs setting up first. To show your own app on the consent screen instead, add your OAuth app on the connector's **Auth** tab under **Manage providers**.

## Connect in Fastn

Your customers connect TikTok Shop from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **TikTok Shop**.
2. Select **Connect** on the TikTok Shop card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Keep the **Default** auth provider, or choose your own OAuth app if you added one. Pick the **Scopes** you need, select **Authorize**, then sign in to TikTok Shop and approve access in the window that opens.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-0e2bbdd7109cec207402cf6883484b8525b7fbf5%2Fconnect-oauth.png?alt=media" alt="The Connect Salesforce dialog for OAuth 2.0 with the Default auth provider, an optional account name, the Scopes selector and an Authorize button"><figcaption><p>A connect form for OAuth 2.0. Salesforce is shown here.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use TikTok Shop's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Activate Products</td><td><code>activateProducts</code></td><td>Activate (list) products. Body JSON: {"product_ids":["..."]}.</td></tr><tr><td>Add External Order References</td><td><code>addExternalOrderReferences</code></td><td>Link external platform order references (v202406). POST body.</td></tr><tr><td>Approve Cancellation</td><td><code>approveCancellation</code></td><td>Approve a buyer cancellation by cancel_id. POST body.</td></tr><tr><td>Approve Return</td><td><code>approveReturn</code></td><td>Approve a return request by return_id. POST body.</td></tr><tr><td>Batch Ship Packages</td><td><code>batchShipPackages</code></td><td>Ship multiple packages at once. POST body with packages[].</td></tr><tr><td>Calculate Refund</td><td><code>calculateRefund</code></td><td>Compute the refund amount for items. POST body.</td></tr><tr><td>Calculate Refund v2</td><td><code>calculateRefundV2</code></td><td>Calculate Refund (TikTok 202602). Side-by-side v2 of the action that stays on 202309. Read-only calculation, does not issue a refund.</td></tr><tr><td>Cancel Order (seller)</td><td><code>cancelOrder</code></td><td>Seller-initiated order cancellation. POST body.</td></tr><tr><td>Cancel Order (seller) v2</td><td><code>cancelOrderV2</code></td><td>Cancel Order, seller initiated (TikTok 202602). Side-by-side v2 of the action that stays on 202309. WRITE ACTION - cancels a real order.</td></tr><tr><td>Check Listing Prerequisites</td><td><code>checkListingPrerequisites</code></td><td>Check whether the seller meets prerequisites to list products.</td></tr></tbody></table>

<details>

<summary>View 162 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Check Listing Prerequisites v2</td><td><code>checkListingPrerequisitesV2</code></td><td>Check Listing Prerequisites (TikTok 202312). Side-by-side v2 of the action that stays on 202309. Returns per-item check results with failure reasons.</td></tr><tr><td>Combine Packages</td><td><code>combinePackages</code></td><td>Combine multiple packages into one. POST body.</td></tr><tr><td>Confirm Package Shipment (Supply Chain)</td><td><code>confirmPackageShipment</code></td><td>Sync/confirm package shipment with a 3PL warehouse provider (supply_chain v202309). POST body with package data.</td></tr><tr><td>Create Conversation</td><td><code>createConversation</code></td><td>Start a new conversation with a buyer. POST body (customer_service v202309).</td></tr><tr><td>Create Custom Brand</td><td><code>createCustomBrand</code></td><td>Register a custom brand. Body JSON: {"name":"..."}.</td></tr><tr><td>Create Global Product</td><td><code>createGlobalProduct</code></td><td>Create a cross-border global product. Pass full global product body JSON (title, description, category_id, skus, etc.) (product global_products v202309).</td></tr><tr><td>Create Manufacturer</td><td><code>createManufacturer</code></td><td>Add a new EU GPSR manufacturer. POST body with name, address, contact (product compliance v202409).</td></tr><tr><td>Create Open Collaboration</td><td><code>createOpenCollaboration</code></td><td>Create an affiliate open collaboration (affiliate_seller v202405). POST body.</td></tr><tr><td>Create Open Collaboration v2</td><td><code>createOpenCollaborationV2</code></td><td>Create Open Collaboration (TikTok 202412). Side-by-side v2 of the action that stays on 202405. Typed request body replaces the old opaque bodyJson string.</td></tr><tr><td>Create Packages</td><td><code>createPackages</code></td><td>Create packages from order line items. POST body.</td></tr><tr><td>Create Packages v2</td><td><code>createPackagesV2</code></td><td>Create Packages (TikTok 202512). Side-by-side v2 of the action that stays on 202309.</td></tr><tr><td>Create Product</td><td><code>createProduct</code></td><td>Create a product listing. Pass full product body JSON (title, description, category_id, skus, package_weight, etc.).</td></tr><tr><td>Create Promotion Activity</td><td><code>createActivity</code></td><td>Create a promotion activity (flash sale / direct discount). POST body.</td></tr><tr><td>Create Responsible Person</td><td><code>createResponsiblePerson</code></td><td>Add a new EU GPSR responsible person. POST body with name, address, contact, email/phone (product compliance v202409).</td></tr><tr><td>Create Return</td><td><code>createReturn</code></td><td>Initiate a return/refund request. POST body.</td></tr><tr><td>Create Return v2</td><td><code>createReturnV2</code></td><td>Create Return (TikTok 202602). Side-by-side v2 of the action that stays on 202309. WRITE ACTION - creates a real return request.</td></tr><tr><td>Create Target Collaboration</td><td><code>createTargetCollaboration</code></td><td>Create an affiliate target collaboration with a specific creator (affiliate_seller v202405). POST body.</td></tr><tr><td>Create Target Collaboration v2</td><td><code>createTargetCollaborationV2</code></td><td>Create Target Collaboration (TikTok 202508). Side-by-side v2 of the action that stays on 202405.</td></tr><tr><td>Deactivate Products</td><td><code>deactivateProducts</code></td><td>Deactivate (unlist) products. Body JSON: {"product_ids":["..."]}.</td></tr><tr><td>Deactivate Promotion Activity</td><td><code>deactivateActivity</code></td><td>Deactivate a promotion activity by activity_id. POST.</td></tr><tr><td>Delete Global Products</td><td><code>deleteGlobalProducts</code></td><td>Delete one or more cross-border global products. Body JSON: {"global_product_ids":["..."]} (product global_products v202309).</td></tr><tr><td>Delete Products</td><td><code>deleteProducts</code></td><td>Delete one or more products. Body JSON: {"product_ids":["..."]}.</td></tr><tr><td>Delete Shop Webhook</td><td><code>deleteShopWebhook</code></td><td>Delete a webhook subscription by event_type (event v202309). Body: {"event_type":"..."}.</td></tr><tr><td>Edit Global Product</td><td><code>editGlobalProduct</code></td><td>Full edit of an existing cross-border global product by global_product_id. Pass full global product body JSON (product global_products v202309).</td></tr><tr><td>Edit Product</td><td><code>editProduct</code></td><td>Full edit of an existing product by product_id. Pass full product body JSON.</td></tr><tr><td>Edit Product v2</td><td><code>editProductV2</code></td><td>Edit Product (TikTok 202509). Side-by-side v2 of the action that stays on 202309. Full product replacement.</td></tr><tr><td>Fulfillment Upload File</td><td><code>fulfillmentUploadFile</code></td><td>Upload a delivery document for fulfillment. POST body.</td></tr><tr><td>Fulfillment Upload Image</td><td><code>fulfillmentUploadImage</code></td><td>Upload a delivery proof image for fulfillment. POST body.</td></tr><tr><td>Generate Product Promotion Link</td><td><code>generateProductPromotionLink</code></td><td>Generate a shareable affiliate promotion link for a product (affiliate_seller v202405). POST body.</td></tr><tr><td>Get Active Shops</td><td><code>getActiveShops</code></td><td>Get the seller's active shops (seller-level).</td></tr><tr><td>Get Aftersale Eligibility</td><td><code>getAftersaleEligibility</code></td><td>Check return/refund eligibility for an order.</td></tr><tr><td>Get Aftersale Eligibility v2</td><td><code>getAftersaleEligibilityV2</code></td><td>Get Aftersale Eligibility (TikTok 202602). Side-by-side v2 of the action that stays on 202309. Returns per-SKU, per-line-item eligibility for CANCEL / RETURN / RETURN_AND_REFUND.</td></tr><tr><td>Get Agent Settings</td><td><code>getAgentSettings</code></td><td>Get the customer-service agent configuration (customer_service v202309).</td></tr><tr><td>Get Authorized Category Assets</td><td><code>getAuthorizedCategoryAssets</code></td><td>Get the category assets the app is authorized to access for the shop.</td></tr><tr><td>Get Authorized Shops</td><td><code>getAuthorizedShops</code></td><td>List shops the seller authorized to this app. Returns shop_cipher + shop_id needed for all other calls. CALL FIRST. Note: TikTok request signing (app_key/sign/timestamp) is applied by the platform signing layer.</td></tr><tr><td>Get Brands</td><td><code>getBrands</code></td><td>List brands available to the shop. Query page_size/page_token/category_id.</td></tr><tr><td>Get Categories</td><td><code>getCategories</code></td><td>Get the product category tree. Optional locale/category_version query.</td></tr><tr><td>Get Category Attributes</td><td><code>getCategoryAttributes</code></td><td>Get required/optional attributes for a category_id.</td></tr><tr><td>Get Category Rules</td><td><code>getCategoryRules</code></td><td>Get listing rules/requirements for a category_id.</td></tr><tr><td>Get Conversation Messages</td><td><code>getConversationMessages</code></td><td>List messages in a conversation by conversation_id (customer_service v202309).</td></tr><tr><td>Get Conversations</td><td><code>getConversations</code></td><td>List buyer-seller conversations. Query page params (customer_service v202309).</td></tr><tr><td>Get Coupon</td><td><code>getCoupon</code></td><td>Get a coupon by coupon_id.</td></tr><tr><td>Get Eligible Shipping Service</td><td><code>getEligibleShippingService</code></td><td>Query available shipping options for an order. POST body.</td></tr><tr><td>Get External Order References</td><td><code>getExternalOrderReferences</code></td><td>Retrieve external references for a TikTok order (v202406).</td></tr><tr><td>Get FBT Inbound Orders</td><td><code>getFbtInboundOrders</code></td><td>Get FBT inbound orders by IDs (fbt v202409). Query inbound_order_ids.</td></tr><tr><td>Get FBT Inbound Orders v2</td><td><code>getFbtInboundOrdersV2</code></td><td>Get FBT Inbound Orders (TikTok 202602). Side-by-side v2 of the action that stays on 202409.</td></tr><tr><td>Get FBT Onboarded Regions</td><td><code>getFbtMerchantOnboardedRegions</code></td><td>List regions where the merchant's Fulfilled-by-TikTok is active (fbt v202409).</td></tr><tr><td>Get FBT Warehouse List</td><td><code>getFbtWarehouseList</code></td><td>List Fulfilled-by-TikTok warehouses (fbt v202408).</td></tr><tr><td>Get Global Attributes</td><td><code>getGlobalAttributes</code></td><td>Get required/optional global attributes for a category_id used when creating global products. Optional locale query (product categories global_attributes v202309).</td></tr><tr><td>Get Global Categories</td><td><code>getGlobalCategories</code></td><td>Get the global (cross-border) product category tree. Optional locale/keyword/category_version query (product global_categories v202309).</td></tr><tr><td>Get Global Category Rules</td><td><code>getGlobalCategoryRules</code></td><td>Get the additional listing rules/requirements for a category_id when creating global products (product categories global_rules v202309).</td></tr><tr><td>Get Global Product</td><td><code>getGlobalProduct</code></td><td>Get full detail of a single cross-border global product by global_product_id (product global_products v202309).</td></tr><tr><td>Get Global Seller Warehouses</td><td><code>getGlobalSellerWarehouses</code></td><td>List global (cross-border) seller warehouses.</td></tr><tr><td>Get Open Collaboration Settings</td><td><code>getOpenCollaborationSettings</code></td><td>Get affiliate open-collaboration settings (affiliate_seller v202409).</td></tr><tr><td>Get Order Detail</td><td><code>getOrderDetail</code></td><td>Get full detail for one or more orders by IDs (comma-separated in ids).</td></tr><tr><td>Get Order Detail v2</td><td><code>getOrderDetailV2</code></td><td>Get Order Detail (TikTok 202507). Side-by-side v2 of the action that stays on 202309. Used by the settlement sync on every run. Response shape differs between versions.</td></tr><tr><td>Get Order Price Detail</td><td><code>getPriceDetail</code></td><td>Get detailed price breakdown for an order (v202407).</td></tr><tr><td>Get Order Split Attributes</td><td><code>getOrderSplitAttributes</code></td><td>Check split eligibility for orders. Query order_ids.</td></tr><tr><td>Get Order Statement Transactions</td><td><code>getOrderStatementTransactions</code></td><td>Get settlement transactions linked to a specific order.</td></tr><tr><td>Get Order Statement Transactions v2</td><td><code>getOrderStatementTransactionsV2</code></td><td>Get Order Statement Transactions (TikTok 202501). Side-by-side v2 of the action that stays on 202309. Returns the settlement breakdown for a single order with typed fee/tax sub-objects.</td></tr><tr><td>Get Order Tracking</td><td><code>getTracking</code></td><td>Get tracking/delivery progress for an order.</td></tr><tr><td>Get Package Detail</td><td><code>getPackageDetail</code></td><td>Get detail of a package by package_id.</td></tr><tr><td>Get Package Handover Time Slots</td><td><code>getPackageHandoverTimeSlots</code></td><td>Get available pickup/handover time windows for a package.</td></tr><tr><td>Get Package Shipping Document</td><td><code>getPackageShippingDocument</code></td><td>Get the shipping label/document for a package. Query document_type.</td></tr><tr><td>Get Payments</td><td><code>getPayments</code></td><td>List payment records sorted by create time. Query page params.</td></tr><tr><td>Get Payments v2</td><td><code>getPaymentsV2</code></td><td>Get Payments (TikTok 202605). Side-by-side v2 of 'Get Payments', which stays on 202309. Returns payment/payout records with typed amount objects.</td></tr><tr><td>Get Product</td><td><code>getProduct</code></td><td>Get full detail of a single product by product_id.</td></tr><tr><td>Get Promotion Activity</td><td><code>getActivity</code></td><td>Get a promotion activity by activity_id.</td></tr><tr><td>Get Reject Reasons</td><td><code>getRejectReasons</code></td><td>Get available rejection reasons for returns/cancellations. Query biz fields.</td></tr><tr><td>Get Return Records</td><td><code>getReturnRecords</code></td><td>Get the history/records of a return by return_id.</td></tr><tr><td>Get Seller Permissions</td><td><code>getSellerPermissions</code></td><td>Get the API permissions granted to the seller.</td></tr><tr><td>Get Shipping Providers</td><td><code>getShippingProviders</code></td><td>Get shipping providers for a delivery option.</td></tr><tr><td>Get Shop Performance</td><td><code>getShopPerformance</code></td><td>Get overall shop performance metrics (GMV, orders, etc.) for a date range (analytics v202405).</td></tr><tr><td>Get Shop Performance v2</td><td><code>getShopPerformanceV2</code></td><td>Get Shop Performance (TikTok 202509). Side-by-side v2 of the action that stays on 202405.</td></tr><tr><td>Get Shop Product Performance</td><td><code>getShopProductPerformance</code></td><td>Get performance for a single product by product_id (analytics v202405).</td></tr><tr><td>Get Shop Product Performance List</td><td><code>getShopProductPerformanceList</code></td><td>List performance metrics across all products (analytics v202405).</td></tr><tr><td>Get Shop Product Performance List v2</td><td><code>getShopProductPerformanceListV2</code></td><td>Get Shop Product Performance List (TikTok 202605). Side-by-side v2 of the action that stays on 202405.</td></tr><tr><td>Get Shop Product Performance v2</td><td><code>getShopProductPerformanceV2</code></td><td>Get Shop Product Performance (TikTok 202509). Side-by-side v2 of the action that stays on 202405.</td></tr><tr><td>Get Shop SKU Performance</td><td><code>getShopSkuPerformance</code></td><td>Get performance for a single SKU by sku_id (analytics v202405).</td></tr><tr><td>Get Shop SKU Performance List</td><td><code>getShopSkuPerformanceList</code></td><td>List performance metrics across all SKUs (analytics v202405).</td></tr><tr><td>Get Shop Video Performance</td><td><code>getShopVideoPerformance</code></td><td>Get performance for a single video by video_id (analytics v202405).</td></tr><tr><td>Get Shop Video Performance List</td><td><code>getShopVideoPerformanceList</code></td><td>List performance metrics across shop videos (analytics v202405).</td></tr><tr><td>Get Shop Video Performance List v2</td><td><code>getShopVideoPerformanceListV2</code></td><td>Get Shop Video Performance List (TikTok 202605). Side-by-side v2 of the action that stays on 202409.</td></tr><tr><td>Get Shop Video Performance Overview</td><td><code>getShopVideoPerformanceOverview</code></td><td>Get a summary overview of video performance (analytics v202405).</td></tr><tr><td>Get Shop Video Performance Overview v2</td><td><code>getShopVideoPerformanceOverviewV2</code></td><td>Get Shop Video Performance Overview (TikTok 202509). Side-by-side v2 of the action that stays on 202409.</td></tr><tr><td>Get Shop Video Performance v2</td><td><code>getShopVideoPerformanceV2</code></td><td>Get Shop Video Performance (TikTok 202509). Side-by-side v2 of the action that stays on 202409.</td></tr><tr><td>Get Shop Video Product Performance List</td><td><code>getShopVideoProductPerformanceList</code></td><td>List product performance within a specific video (analytics v202405).</td></tr><tr><td>Get Shop Video Product Performance List v2</td><td><code>getShopVideoProductPerformanceListV2</code></td><td>Get Shop Video Product Performance List (TikTok 202509). Side-by-side v2 of the action that stays on 202409.</td></tr><tr><td>Get Shop Webhooks</td><td><code>getShopWebhooks</code></td><td>List the shop's registered webhook subscriptions (event v202309). Webhook-management action.</td></tr><tr><td>Get Statement Transactions</td><td><code>getStatementTransactions</code></td><td>Get transactions for a settlement statement by statement_id.</td></tr><tr><td>Get Statement Transactions v2</td><td><code>getStatementTransactionsV2</code></td><td>Get Transactions by Statement (TikTok 202501). Side-by-side v2 of 'Get Statement Transactions', which stays on 202309. Shape differs: rows are under data.transactions (202309 used data.statement_transactions) with a typed `type` enum incl. FBT_WAREHOUSE_SERVICE_FEE and GMV_PAYMENT_FOR_ADS. sort_field is REQUIRED on 202501.</td></tr><tr><td>Get Statements</td><td><code>getStatements</code></td><td>List settlement statements. Query page params, sort, time range.</td></tr><tr><td>Get Target Collaboration Detail</td><td><code>queryTargetCollaborationDetail</code></td><td>Get a target collaboration by id (affiliate_seller v202409).</td></tr><tr><td>Get Target Collaboration Detail v2</td><td><code>queryTargetCollaborationDetailV2</code></td><td>Get Target Collaboration Detail (TikTok 202508). Side-by-side v2 of the action that stays on 202409.</td></tr><tr><td>Get Warehouse Delivery Options</td><td><code>getWarehouseDeliveryOptions</code></td><td>Get delivery options for a warehouse.</td></tr><tr><td>Get Warehouse List</td><td><code>getWarehouseList</code></td><td>List the shop's warehouses.</td></tr><tr><td>Get Withdrawals</td><td><code>getWithdrawals</code></td><td>List withdrawal/transfer/settlement records. Query page params and types.</td></tr><tr><td>Mark Package as Shipped (by order)</td><td><code>markPackageAsShipped</code></td><td>Register a shipment for an order. POST body.</td></tr><tr><td>Partial Edit Manufacturer</td><td><code>partialEditManufacturer</code></td><td>Partially edit an EU GPSR manufacturer by manufacturer_id. POST body (product compliance v202409).</td></tr><tr><td>Partial Edit Product</td><td><code>partialEditProduct</code></td><td>Partially edit specific fields of a product by product_id.</td></tr><tr><td>Partial Edit Product v2</td><td><code>partialEditProductV2</code></td><td>Partial Edit Product (TikTok 202509). Side-by-side v2 of the action that stays on 202309. Updates only supplied fields.</td></tr><tr><td>Partial Edit Responsible Person</td><td><code>partialEditResponsiblePerson</code></td><td>Partially edit an EU GPSR responsible person by responsible_person_id. POST body (product compliance v202409).</td></tr><tr><td>Publish Global Product</td><td><code>publishGlobalProduct</code></td><td>Publish a cross-border global product to target local markets by global_product_id. POST body with publish_target markets (product global_products v202309).</td></tr><tr><td>Read Message</td><td><code>readMessage</code></td><td>Mark conversation messages as read by conversation_id (customer_service v202309).</td></tr><tr><td>Recommend Category</td><td><code>recommendCategory</code></td><td>Recommend a category for a product based on title/description. POST body.</td></tr><tr><td>Recommend Global Categories</td><td><code>recommendGlobalCategories</code></td><td>Recommend global categories for a product based on title/description/images. POST body (product global_categories v202309).</td></tr><tr><td>Recover Products</td><td><code>recoverProducts</code></td><td>Recover previously deleted products. Body JSON: {"product_ids":["..."]}.</td></tr><tr><td>Reject Cancellation</td><td><code>rejectCancellation</code></td><td>Reject a buyer cancellation by cancel_id. POST body with reason.</td></tr><tr><td>Reject Return</td><td><code>rejectReturn</code></td><td>Reject a return request by return_id. POST body with reason.</td></tr><tr><td>Reject Return v2</td><td><code>rejectReturnV2</code></td><td>Reject Return (TikTok 202606). Side-by-side v2 of the action that stays on 202309. WRITE ACTION - rejects a real return request.</td></tr><tr><td>Remove Activity Products</td><td><code>removeActivityProducts</code></td><td>Remove products/SKUs from a promotion activity. DELETE body.</td></tr><tr><td>Remove Target Collaboration</td><td><code>removeTargetCollaboration</code></td><td>End a target collaboration by id (affiliate_seller v202409). DELETE.</td></tr><tr><td>Search Cancellations</td><td><code>searchCancellations</code></td><td>Search cancellation requests. POST body; page params via query.</td></tr><tr><td>Search Cancellations v2</td><td><code>searchCancellationsV2</code></td><td>Search Cancellations (TikTok 202602). Side-by-side v2 of the action that stays on 202309.</td></tr><tr><td>Search Combinable Packages</td><td><code>searchCombinablePackages</code></td><td>Find packages eligible to be combined.</td></tr><tr><td>Search Coupons</td><td><code>searchCoupons</code></td><td>Search coupons. POST body; page params via query.</td></tr><tr><td>Search FBT Goods</td><td><code>searchFbtGoods</code></td><td>Search FBT goods info (fbt v202409). POST body.</td></tr><tr><td>Search FBT Goods v2</td><td><code>searchFbtGoodsV2</code></td><td>Search FBT Goods (TikTok 202607). Side-by-side v2 of the action that stays on 202409.</td></tr><tr><td>Search FBT Inventory</td><td><code>searchFbtInventory</code></td><td>Search FBT inventory (fbt v202408). POST body; page params via query.</td></tr><tr><td>Search FBT Inventory Records</td><td><code>searchFbtInventoryRecords</code></td><td>Search FBT inventory movement records (fbt v202410). POST body.</td></tr><tr><td>Search Global Products</td><td><code>searchGlobalProducts</code></td><td>Search/list cross-border global products. POST body filters; page_size/page_token via query (product global_products v202309).</td></tr><tr><td>Search Global Products v2</td><td><code>searchGlobalProductsV2</code></td><td>Search Global Products (TikTok 202312). Side-by-side v2 of the action that stays on 202309. Seller-level endpoint - no shop_cipher required.</td></tr><tr><td>Search Inventory</td><td><code>inventorySearch</code></td><td>Search inventory across products/SKUs. POST body filters.</td></tr><tr><td>Search Manufacturers</td><td><code>searchManufacturers</code></td><td>Search EU GPSR manufacturers by ID or keyword. POST body; page_size/page_token via query (product compliance v202409).</td></tr><tr><td>Search Marketplace Creators</td><td><code>searchMarketplaceCreators</code></td><td>Find creators on the affiliate marketplace (affiliate_seller v202406). POST body.</td></tr><tr><td>Search Marketplace Creators v2</td><td><code>searchMarketplaceCreatorsV2</code></td><td>Search Marketplace Creators (TikTok 202608). Side-by-side v2 of the action that stays on 202406.</td></tr><tr><td>Search Open Collaboration Products</td><td><code>searchOpenCollaborationProduct</code></td><td>Search products in affiliate open collaborations (affiliate_seller v202405). POST body.</td></tr><tr><td>Search Open Collaborations</td><td><code>searchOpenCollaboration</code></td><td>Search affiliate open collaborations (affiliate_seller v202409). POST body.</td></tr><tr><td>Search Open Collaborations v2</td><td><code>searchOpenCollaborationV2</code></td><td>Search Open Collaborations (TikTok 202412). Side-by-side v2 of the action that stays on 202409.</td></tr><tr><td>Search Orders</td><td><code>searchOrders</code></td><td>Search/list orders by status, time range, etc. POST body filters; page_size/page_token via query.</td></tr><tr><td>Search Orders by External References</td><td><code>searchOrderByExternalReferences</code></td><td>Find TikTok orders by external platform order IDs (v202406). POST body.</td></tr><tr><td>Search Packages</td><td><code>searchPackages</code></td><td>Search packages by status/time. POST body; page params via query.</td></tr><tr><td>Search Products</td><td><code>searchProducts</code></td><td>Search/list products in the shop. POST body supports status, seller_skus, etc. page_size/page_token via query.</td></tr><tr><td>Search Products v2</td><td><code>searchProductsV2</code></td><td>Search Products (TikTok 202502). Side-by-side v2 of the action that stays on 202309.</td></tr><tr><td>Search Promotion Activities</td><td><code>searchActivities</code></td><td>Search promotion activities. POST body; page params via query.</td></tr><tr><td>Search Responsible Persons</td><td><code>searchResponsiblePersons</code></td><td>Search EU GPSR responsible persons by ID or keyword. POST body; page_size/page_token via query (product compliance v202501).</td></tr><tr><td>Search Returns</td><td><code>searchReturns</code></td><td>Search return requests by status/time. POST body; page params via query.</td></tr><tr><td>Search Returns v2</td><td><code>searchReturnsV2</code></td><td>Search Returns (TikTok 202602). Side-by-side v2 of the action that stays on 202309. Called by the settlement sync on every run. Typed request body replaces the old opaque bodyJson string.</td></tr><tr><td>Search Seller Affiliate Orders</td><td><code>searchSellerAffiliateOrders</code></td><td>Search affiliate-attributed orders (affiliate_seller v202405). POST body.</td></tr><tr><td>Search Seller Affiliate Orders v2</td><td><code>searchSellerAffiliateOrdersV2</code></td><td>Search Seller Affiliate Orders (TikTok 202410). Side-by-side v2 of the action that stays on 202405.</td></tr><tr><td>Search Target Collaborations</td><td><code>searchTargetCollaborations</code></td><td>Search affiliate target collaborations (affiliate_seller v202409). POST body.</td></tr><tr><td>Search Target Collaborations v2</td><td><code>searchTargetCollaborationsV2</code></td><td>Search Target Collaborations (TikTok 202508). Side-by-side v2 of the action that stays on 202409.</td></tr><tr><td>Send Message</td><td><code>sendMessage</code></td><td>Send a message in a conversation by conversation_id. POST body (customer_service v202309).</td></tr><tr><td>Send Message v2</td><td><code>sendMessageV2</code></td><td>Send Message (TikTok 202606). Side-by-side v2 of the action that stays on 202309. Sends a message into a customer service conversation.</td></tr><tr><td>Ship Package</td><td><code>shipPackage</code></td><td>Mark a package as shipped (provide tracking). POST body.</td></tr><tr><td>Split Orders</td><td><code>splitOrders</code></td><td>Split an order into multiple packages. POST body.</td></tr><tr><td>Uncombine Packages</td><td><code>uncombinePackages</code></td><td>Split a combined package back apart. POST body.</td></tr><tr><td>Update Activity Products</td><td><code>updateActivityProducts</code></td><td>Add/update products in a promotion activity. PUT body.</td></tr><tr><td>Update Agent Settings</td><td><code>updateAgentSettings</code></td><td>Update the customer-service agent configuration. PUT body (customer_service v202309).</td></tr><tr><td>Update Global Inventory</td><td><code>updateGlobalInventory</code></td><td>Update warehouse stock for a cross-border global product by global_product_id. Body JSON with global_skus[]/warehouse inventory (product global_products v202309).</td></tr><tr><td>Update Order Shipping Info</td><td><code>updateShippingInfo</code></td><td>Update tracking/carrier on an order. POST body.</td></tr><tr><td>Update Package Delivery Status</td><td><code>updatePackageDeliveryStatus</code></td><td>Mark packages delivered. POST body with delivery info.</td></tr><tr><td>Update Package Shipping Info</td><td><code>updatePackageShippingInfo</code></td><td>Update tracking/carrier on a package. POST body.</td></tr><tr><td>Update Product Inventory</td><td><code>updateInventory</code></td><td>Update SKU stock for a product. Body JSON with skus[].</td></tr><tr><td>Update Product Price</td><td><code>updatePrice</code></td><td>Update SKU prices for a product. Body JSON with skus[].</td></tr><tr><td>Update Promotion Activity</td><td><code>updateActivity</code></td><td>Update a promotion activity title/time window by activity_id. PUT body.</td></tr><tr><td>Update Shop Webhook</td><td><code>updateShopWebhook</code></td><td>Create or update a webhook subscription for an event_type to a callback address (event v202309). Body: {"event_type":"ORDER_STATUS_CHANGE","address":"https://..."}.</td></tr><tr><td>Update Target Collaboration</td><td><code>updateTargetCollaboration</code></td><td>Update a target collaboration by id (affiliate_seller v202409). PUT body.</td></tr><tr><td>Update Target Collaboration v2</td><td><code>updateTargetCollaborationV2</code></td><td>Update Target Collaboration (TikTok 202508). Side-by-side v2 of the action that stays on 202409.</td></tr><tr><td>Upload Buyer Messages Image</td><td><code>uploadBuyerMessagesImage</code></td><td>Upload an image to send in buyer messaging. POST body (customer_service v202309).</td></tr><tr><td>Upload Product File</td><td><code>uploadProductFile</code></td><td>Upload a product document/file. Body JSON with base64 data and name.</td></tr><tr><td>Upload Product Image</td><td><code>uploadProductImage</code></td><td>Upload a product image. Body JSON with base64 data or use_case.</td></tr></tbody></table>

</details>

## Events

Start a workflow when one of these happens, with an [app event trigger](https://docs.fastn.ai/build/integrations/triggers.md).

<table><thead><tr><th width="240">Event</th><th width="260">Id</th><th>When it fires</th></tr></thead><tbody><tr><td>Order Status Change (1)</td><td><code>ORDER_STATUS_UPDATE</code></td><td>Fired when an order's status changes (e.g. UNPAID, AWAITING_SHIPMENT, IN_TRANSIT, DELIVERED, CANCELLED). Numeric type code 1.</td></tr><tr><td>Package Update (4)</td><td><code>PACKAGE_UPDATE</code></td><td>Fired when a package status changes. Numeric type code 4.</td></tr><tr><td>Product Status Change (5)</td><td><code>PRODUCT_STATUS_UPDATE</code></td><td>Fired when a product's status changes (e.g. ACTIVATE, DEACTIVATED, DELETED, FROZEN). Numeric type code 5.</td></tr><tr><td>Recipient Address Update (3)</td><td><code>RECIPIENT_ADDRESS_UPDATE</code></td><td>Fired when a buyer updates the recipient address on an order. Numeric type code 3.</td></tr><tr><td>Return Status Change (12)</td><td><code>RETURN_STATUS_UPDATE</code></td><td>Fired when a return request status changes. Numeric type code 12.</td></tr><tr><td>Reverse (Cancellation/Return) Status Change (2)</td><td><code>REVERSE_ORDER_STATUS_UPDATE</code></td><td>Fired when a reverse order (cancellation/return) status changes. Numeric type code 2.</td></tr><tr><td>Seller Deauthorization (6)</td><td><code>SELLER_DEAUTHORIZATION</code></td><td>Fired when a seller deauthorizes the app. Numeric type code 6.</td></tr><tr><td>Upcoming Authorization Expiration (7)</td><td><code>UPCOMING_AUTHORIZATION_EXPIRATION</code></td><td>Fired when the app's authorization for a shop is about to expire. Numeric type code 7.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/ecommerce/tiktok-shop.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
