Use this API to ship a package. There are two kinds of shipping options available: TikTok Shipping or Seller Shipping.
TikTok Shipping: Schedule a package handover time for TikTok Shipping carriers to pickup a package from seller.Seller Shipping: Seller arranges their own shipping, and uploads a tracking number andshipping_provider_id. Package ID can be obtained from Get Order Detail.In-store Pickup: Confirms shipment and notifies the buyer that the order is ready for pickup.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”TikTok Shop package ID.
Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
Request Body
Section titled “Request Body”object
Possible values:
PICKUP: A logistics carrier will pick up the package(s) from the seller’s pickup address.DROP_OFF: The seller will need to drop off the package(s) to a designated location.
Pickup time slot.
object
The start of the package pickup time slot, as a Unix timestamp in seconds.
The end of the package pickup time slot, as a Unix timestamp in seconds.
Only needed for merchant self-shipping packages. Check the delivery_option field of Get Package Detail to see how to differentiate platform-logistics and self-shipping. Use the shipping_provider_id retrieved from Get Shipping Providers and upload the corresponding tracking_number.
object
For packages with the SEND_BY_SELLER delivery option type (seller shipping), you must provide the package’s tracking number.
For packages with the SEND_BY_SELLER delivery option type (seller shipping), you must provide the shipping provider information. Please use the Get Shipping Providers API to obtain the shipping_provider_id.
Example
{ "handover_method": "PICKUP", "pickup_slot": { "start_time": 1623812664, "end_time": 1623812664 }, "self_shipment": { "tracking_number": "JX12345", "shipping_provider_id": "6617675021119438849" }}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
Example
{ "code": 0, "data": {}, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}