Skip to main content

POST Confirm Package Shipment

Confirm Package Shipment Required scope: seller.fulfillment.basic This API enables a warehouse service provider to send package shipment information for an order. Only warehouse service providers who have been certified by the platform have permission to access this interface. Version 202309

POST/supply_chain/202309/packages/sync

Request

Header

PropertiesTypeDescription
content-type RequiredstringAllowed type: application/json
x-tts-access-token RequiredstringDepends on the auth type of the API. 1. The seller access_token value from Get Access Token, when user_type = 0. Follow this guide to get seller access_token.2. The creator access_token value from Get Access Token, when user_type = 1. Follow this guide to get creator access_token.3. The partner access_token value from Get Access Token, when user_type = 3. Follow this guide to get partner access_token.

Query

PropertiesTypeDescription
app_key RequiredstringEvery single app will have a unique key. Please use the specific key assigned to your app.
sign RequiredstringSignature generated by gen algorithm. When you send API requests to TTS, you must sign them so that TTS can identify the senders.
timestamp RequiredintUnix timestamp GMT (UTC+00:00). This timestamp is used across all API requests. Developers can use this convert to local time.

Body

PropertiesTypeDescription
warehouse_provider_id RequiredstringWarehouse provider ID, unique and provided by TikTok
packages Required[]objectPackage info list

Example

CurlGoNode.jsJavaEnable word wrap

Response Parameters

PropertiesTypeDescription
codeintThe success or failure status code returned in API response.
messagestringThe success or failure messages returned in API response. Reasons of failure will be described in the message.
request_idstringRequest log
dataobjectSpecific return information

Example

JSONEnable word wrap

Error Code

View common error codes

| Code | Message | | --- | --- | | 39003015 | provider is not in package information send-back white list | | 39003016 | package param invalid, please check detail fail reason | | 39003017 | save warehouse package info err | | 39003018 | the package list is empty in the request | | 39003019 | warehouse provider id is invalid | | 39003020 | the provider id in your request is not match your app_key |

Is this content helpful?Helpful

Not Helpful

PreviousNext