Use this API to report delivery outcomes for SOF (Seller Own Fleet) packages or confirm O2O (Store Pickup) package delivery. For SOF, use DELIVERY_SUCCESS, DELIVERY_FAILED, or UPDATE_POD. For O2O, use DELIVERY_SUCCESS and provide the pickup verification code. Only sellers using SOF or O2O can use this API. This API is available only in the SEA region.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
Request Bodyrequired
Section titled “Request Bodyrequired”object
The packages to update. Provide at least one package.
object
The package ID.
Delivery status of the package. Possible values for in-store pick up:
DELIVERY_SUCCESS: The package has been successfully delivered. Possible values for SOF (Seller Own Fleet):DELIVERY_SUCCESS: The package has been successfully delivered.DELIVERY_FAILED: The package could not be delivered successfully.UPDATE_POD: Updates the attachment for a package that has already been delivered.
Delivery failure reasons.
When delivery_type = DELIVERY_FAILED, this field is required. For other delivery types, this field is not required.
Possible values:
INVALID_ADDRESS: The buyer shipping address is invalid.UNABLE_RECEIVE: The buyer is currently unable to receive the delivery.UNABLE_CONTACT_BUYER: Unable to contact the buyer.BUYER_REFUSED: The buyer has refused to receive the product.DELAY_DELIVERY: Delay in delivery.PACKAGE_LOST: The package is lost.PACKAGE_DAMAGE: The package is damaged.FORCE_MAJEURE: An unforeseeable event of force majeure has occurred.OTHER: Other reason.
Attachment type:
IMGPDF
Attachment URL. The seller can use the Upload Delivery File and Upload Delivery Image APIs to generate the URL. The attachment will be used by TikTok Shop to verify the package delivery.
The verification code required for order pickup.
Example
{ "packages": [ { "id": "11529598723402", "delivery_type": "DELIVERY_SUCCESS", "fail_delivery_reason": "INVALID_ADDRESS", "file_type": "IMG", "file_url": "https://tiktok.shopcenter.cn/file/CWvBsBZ9mhbMiHtmbZecKshon6f?table=tblTW", "verification_code": "123456" } ]}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
Package-level failures from the batch request. Each entry identifies the affected package and contains the returned failure code and message fields. Check this list even when the top-level response code is 0.
object
The failure reason code.
The failure reason message.
Error detail.
object
Package ID.
Example
{ "code": 0, "data": { "errors": [ { "code": 10007014, "message": "order not in sof service", "detail": { "package_id": "1231231231231" } } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}