Use this API to submit package shipment information. Only warehouse service providers certified by TikTok Shop can access this API. Packages are processed independently, so a request can partially succeed. Review both success_packages and errors when handling the response.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
The unique warehouse provider ID assigned by TikTok Shop. The value must represent a positive base-10 integer.
List of packages to confirm. Provide at least one package.
object
Package ID. The value must be a non-zero base-10 integer string no longer than 40 UTF-8 bytes.
Warehouse Management System order number
Warehouse code. Maximum: 40 UTF-8 bytes.
Origin city name for the shipment
The warehouse time zone
Time when the order is shipped out of the warehouse (Unix timestamp in milliseconds)
Time when warehouse receives the order (Unix timestamp in milliseconds)
Time when the order is handed over to the shipping provider (Unix timestamp in milliseconds)
Shipping service provider ID
Shipping service provider name
Tracking number
Package dimension information
object
Package length. Must be greater than or equal to 0.
Package width. Must be greater than or equal to 0.
Package height. Must be greater than or equal to 0.
Package dimension unit Possible values:
- METER
- CENTIMETER
- MILLIMETER
- MICRON
- FOOT
- INCH
Package weight information
object
Package weight. Must be greater than or equal to 0.
Package weight unit Possible values:
- KILOGRAM
- GRAM
- MILLIGRAM
- POUND
- OUNCE
List of order SKUs in the package. Provide at least one SKU.
object
The TikTok Shop SKU ID. The value must represent a positive base-10 integer.
Quantity of this SKU in the package. Must be greater than 0.
Warehouse name
TikTok warehouse type Possible values:
- STANDARD: Standard warehouse that has not been specifically certified by TikTok
- TIKTOK_CERTIFIED_WAREHOUSE_FULFILLMENT: TikTok certified warehouse usually offering better service levels. Certified warehouses are required to meet fulfillment timeline standards set by TikTok
Example
{ "warehouse_provider_id": "7342984797904049750", "packages": [ { "id": "28427944530283", "wms_order_id": "324246554745", "provider_warehouse_code": "7475973290484254255", "shipping_origin_city": "CityA", "time_zone": "UTC+8", "ship_time_millis": 1694176625765, "create_time_millis": 1694176625765, "handover_time_millis": 1694176625765, "shipping_provider_id": "2435653524354624", "shipping_provider_name": "ProviderA", "tracking_number": "WB53452356", "dimension": { "length": 34, "width": 425, "height": 42, "unit": "METER" }, "weight": { "value": 342, "unit": "KILOGRAM" }, "skus": [ { "id": "4235346547", "quantity": 13 } ], "provider_warehouse_name": "Central Warehouse", "tcw_warehouse_type": "STANDARD" } ]}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
List of packages that have been successfully confirmed
List of packages that were not confirmed, with failure information for each package. This field is omitted when every package is confirmed.
object
Error code
Error message
Failed package details
object
Package ID.
Example
{ "code": 0, "data": { "success_packages": [ "5345241234", "42365346" ], "errors": [ { "code": "39003015", "message": "Provider is not supported by TikTok Shop", "detail": { "package_id": "4645645645" } } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}