This API is currently exclusive to the following markets: US, UK, ES, IE, IT, DE, FR, JP.
This API is for sellers who fulfill orders through their own selected/preferred logistics carrier, and allows sellers to upload valid package information (items in packages, shipping provider information, and tracking number) orders/order line items to TikTok Shop. Use Get Shipping Providers API to retrieve the shipping_provider_id for shipping providers.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The unique identifier for a TikTok Shop order.
Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
Request Body
Section titled “Request Body”object
This new parameter is completely backward compatible with the previous oder_line_items_ids field and in addition this supports bundle order splitting, use the sub items accordingly
object
The corresponding order line ID.
The sub-order-line ID inside a bundle product.
- Required for bundle products.
- Not required for non-bundle products.
“Only supports uploading multiple tracking numbers for split-shipment in 3PL single item scenarios (non-virtual bundle) (This function is only support for whitelist sellers; If you are not on the allowlist, it is recommended to contact AM to apply) For other scenarios, only one tracking number can be uploaded at a time.”
object
Tracking number.
Use Get Shipping Provider API to retrieve the shipping_provider_id for shipping providers.
“Only available for a part of white list merchants.This applies to scenarios where a large single item needs to be shipped in multiple packages.Merchants not on the whitelist who upload this field will have it automatically ignored by the platform. For example, where Package 1 is marked with ““headboard”” and Package 2 is marked with ““bed frame”“. This field will be displayed to buyers, so please fill it in carefully.”
Example
{ "order_line_list": [ { "order_line_id": "5767675021119438849", "sub_item_id": "5767675021119438849" } ], "shipping_info_list": [ { "tracking_number": "6617675021119438849", "shipping_provider_id": "12312312321323432", "note": "this is a table" } ]}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
TikTok Shop order ID.
List of order line item IDs.
Package ID.
Warning message.
object
Warning information that needs attention. Review and address it when applicable. Its presence alone does not mean check_result is FAILED.
Example
{ "code": 0, "data": { "order_id": "32131324123321", "order_line_item_ids": [ "31322412312312" ], "package_id": "32141235124234", "warning": { "message": "match more than one provider" } }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}