快工助手跨境电商知识与商机助手

Create First Mile Bundle

TikTok Shop 官方资料 · TikTok Shop Partner Center 开发者文档 · 适合开发者

stable本次发布有变化全部展示

来自 TikTok Shop 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
TikTok Shop / profile.tiktok.docs_api
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/tiktok_shopaudience/developercategory/api_doctopic/compliancetopic/developer

资料正文

§1 Path: /fulfillment/202407/bundles

#

§2 Method: [POST]

#

§3 Function Description

If you send multiple packages to TikTok Shop warehouse in a single first-mile bundle, you can use the API to create a first-mile bundle on TikTok Shop and get the bundle ID.


#

§4 Common Parameters

For common parameters, refer to How to call TikTok Shop APIs - Common Parameters

Properties Location Type Require Sample Properties description
content-typeheaderstringYapplication/jsonAllowed type: application/json
#

§5 Request Query Parameters

Properties Type Require Sample Properties description
app_keystringY38abcdEvery single app will have a unique key. Please use the specific key assigned to your app.
signstringY5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8cSignature generated by gen algorithm. When you send API requests to TTS, you must sign them so that TTS can identify the senders.
timestampintY1623812664Unix timestamp GMT (UTC+00:00). This timestamp is used across all API requests. Developers can use this convert to local time.
#

§6 Request Body Parameters

Properties Type Require Sample Properties description
order_ids[]stringY["578967030217083407"]The IDs of all the orders sent in a single first-mile bundle.
The orders must follow the restrictions:
  • Each of the orders must exist and be RTS and shipping label printed.
  • The orders are sent by the same seller.
  • The orders belong to a single group of TikTok Shop service districts. The groups are:
  • Group 1: PH, SG, MY, VN, TH, and JP.
  • Group 2: DE, FR, IT, ES.

You can not create first mile bundles for US/UK orders using this API. | handover_method |string |Y |PICKUP |The way you send the first-mile bundle. Possible enumerations are:

  • PICKUP: You use the logistic service provided by TikTok Shop to send the bundle.
  • DROP_OFF: You contact the logistic provider and send the bundle. The logistic provider must be registered at TikTok Shop. | shipping_provider_id |string |N |7463353253533 |The logistic provider ID in TikTok Shop. Required when handover_method == DROP_OFF. | tracking_number |string |N |SF1244442424 |The logistic tracking number of the bundle. Required when handover_method == DROP_OFF. | phone_tail_number |string |N |1234 |Last 4 digits of the sender's phone number. Required when handover_method == DROP_OFF. |
#

§7 Request Sample

Query

https://open-api.tiktokglobalshop.com/fulfillment/202407/bundles?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c&timestamp=1625484268

Body

{"order_ids":["578967030217083407"],"handover_method":"PICKUP","shipping_provider_id":"7463353253533","tracking_number":"SF1244442424","phone_tail_number":"1234"}
#

§8 Response Parameters

Properties Type Sample Properties description
codeint0The success or failure status code returned in API response.
messagestringSuccessThe success or failure messages returned in API response. Reasons of failure will be described in the message.
request_idstring202203070749000101890810281E8C70B7Request log
dataobjectSpecific return information
^first_mile_bundle_idstringBA123444534The ID of the first-mile bundle.
^urlstringhttps://open-fs-va.tiktokshop.com/doc_tts/object/28b05?skipCookie=true&timeStamp=1721272360&sign=ef63cd6The returned waybill link.
^errors[]objectSpecific return information (returns multiple errors and reasons)
^^codeint10007014The success or failure status code returned in API response.
^^messagestringinvalid package idThe success or failure messages returned in API response. Reasons of failure will be described in the message.
^^detailobjectError detail
^^^order_idstring578967030217083407TikTok Shop order ID
#

§9 Response Sample

{"code":0,"data":{"first_mile_bundle_id":"BA123444534","url":"https://open-fs-va.tiktokshop.com/doc_tts/object/28b05?skipCookie=true\u0026timeStamp=1721272360\u0026sign=ef63cd6","errors":[{"code":10007014,"message":"invalid package id","detail":{"order_id":"578967030217083407"}}]},"message":"Success","request_id":"202203070749000101890810281E8C70B7"}
#

§10 Error Code

For common error codes, refer to How to call TikTok Shop APIs - Common Error Code

Code Message
#