stable本次发布有变化全部展示
来自 TikTok Shop 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 Path: /fbt/202408/warehouses
#§2 Method: [GET]
#§3 Function Description
This API is used to retrieve all Fulfilled by TikTok warehouse information including the warehouse name, warehouse address information, etc. The IDs of subscribed warehouses can be used to query inventory-related information.
§4 Common Parameters
For common parameters, refer to How to call TikTok Shop APIs - Common Parameters
| Properties | Location | Type | Require | Sample | Properties description |
|---|---|---|---|---|---|
| shop_cipher | query | string | Y | GCP_XF90igAAAABh00qsWgtvOiGFNqyubMt3 | Use this property to pass shop information in requesting the API. Failure in passing the correct value when requesting the API for cross-border shops will return incorrect response. |
| Get by API Get Authorization Shop | |||||
| content-type | header | string | Y | application/json | Allowed type: application/json |
§5 Request Query Parameters
| Properties | Type | Require | Sample | Properties description |
|---|---|---|---|---|
| app_key | string | Y | 38abcd | Every single app will have a unique key. Please use the specific key assigned to your app. |
| sign | string | Y | 5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c | Signature generated by gen algorithm. When you send API requests to TTS, you must sign them so that TTS can identify the senders. |
| timestamp | int | Y | 1623812664 | Unix timestamp GMT (UTC+00:00). This timestamp is used across all API requests. Developers can use this convert to local time. |
§6 Request Sample
Query
https://open-api.tiktokglobalshop.com/fbt/202408/warehouses?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c×tamp=1625484268&shop_cipher=ROW_RHkDDABBAAB8tKAVoAqsMTjsQZFLyNfY
§7 Response Parameters
| Properties | Type | Sample | Properties description |
|---|---|---|---|
| code | int | 0 | The success or failure status code returned in API response. |
| message | string | Success | The success or failure messages returned in API response. Reasons of failure will be described in the message. |
| request_id | string | 202203070749000101890810281E8C70B7 | Request log |
| data | object | Specific return information | |
| ^warehouses | []object | A list of Fulfilled by TikTok warehouses information. | |
| ^^fbt_warehouse_id | string | 121219993203023 | The identifier for warehouse generated by Fulfilled By TikTok system. |
| ^^warehouse_ids | []string | ["161213293423029", "181213293423030"] | The identifier for warehouse generated by TikTok Shop system, will have the relationship with fbt_warehouse_id. |
| ^^name | string | TikTok_Eastvale(CA) | The Fulfilled by TikTok warehouse name, e.g.TikTok_Eastvale(CA). |
| ^^type | string | PLATFORM_WAREHOUSE | The Fulfilled by TikTok warehouse type. Possible values: PLATFORM_WAREHOUSE, a warehouse operated by the TikTok platform. |
| ^^subscribed | bool | true | A flag indicating whether the warehouse is subscribed. |
| True: Subscribed. | |||
| False: Not subscribed. | |||
| ^^addresses | []object | The Fulfilled by TikTok warehouse address information. | |
| ^^^postal_code | string | 92376 | Warehouse address postal code (also known as zip code). |
| ^^^region_code | string | US | Warehouse country or region code in two-character ISO 3166-1 alpha-2 format. |
| ^^^state | string | CA | Warehouse address state or province. |
| ^^^district | string | San Bernardino | Warehouse address district or county. |
| ^^^city | string | Rialto | Warehouse address city. |
| ^^^address_line_1 | string | 1420 Tamarind Ave, Rialto, San Bernardino | The detail address line 1. |
| ^^^address_line_2 | string | The detail address line 2, additional address information(optional). | |
| ^^^address_line_3 | string | The detail address line 3, additional address information(optional). | |
| ^^logistics_services | []object | A list of logistics service information related to the current warehouse. | |
| ^^^id | string | 12123232323 | The identifier for logistics service in TikTok Shop system. |
| ^^^name | string | Fulfilled by TikTok Shop-Standard | The logistics service name. |
| ^^^subscribed | bool | true | A flag indicating whether the logistic service is subscribed. |
| True: Subscribed. | |||
| False: Not subscribed. |
§8 Response Sample
{"code":0,"data":{"warehouses":[{"fbt_warehouse_id":"121219993203023","warehouse_ids":["161213293423029","181213293423030"],"name":"TikTok_Eastvale(CA)","type":"PLATFORM_WAREHOUSE","subscribed":true,"addresses":[{"postal_code":"92376","region_code":"US","state":"CA","district":"San Bernardino","city":"Rialto","address_line_1":"1420 Tamarind Ave, Rialto, San Bernardino","address_line_2":" ","address_line_3":" "}],"logistics_services":[{"id":"12123232323","name":"Fulfilled by TikTok Shop-Standard","subscribed":true}]}]},"message":"Success","request_id":"202203070749000101890810281E8C70B7"}
§9 Error Code
For common error codes, refer to How to call TikTok Shop APIs - Common Error Code
| Code | Message |
|---|
