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
| Properties | Type | Description |
|---|---|---|
| content-type Required | string | Allowed type: application/json |
| x-tts-access-token Required | string | Depends 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
| Properties | Type | Description |
|---|---|---|
| app_key Required | string | Every single app will have a unique key. Please use the specific key assigned to your app. |
| sign Required | string | Signature generated by gen algorithm. When you send API requests to TTS, you must sign them so that TTS can identify the senders. |
| timestamp Required | int | Unix timestamp GMT (UTC+00:00). This timestamp is used across all API requests. Developers can use this convert to local time. |
Body
| Properties | Type | Description |
|---|---|---|
| warehouse_provider_id Required | string | Warehouse provider ID, unique and provided by TikTok |
| packages Required | []object | Package info list |
Example
CurlGoNode.jsJavaEnable word wrap
Response Parameters
| Properties | Type | Description |
|---|---|---|
| code | int | The success or failure status code returned in API response. |
| message | string | The success or failure messages returned in API response. Reasons of failure will be described in the message. |
| request_id | string | Request log |
| data | object | Specific 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