stable本次发布有变化全部展示
来自 TikTok Shop 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 Path: /fbt/202602/inbound_orders
#§2 Method: [GET]
#§3 Function Description
This API is used to retrieve the inbound order details including the planned inbound detail, actual inbound detail and inbound status, etc.
§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. |
| order_ids | []string | Y | 5766071177167344427,5766071177167344428 | The list of numeric identifiers of the inbound orders to fetch information for. |
Note: Provide the numeric sequence only; do not include the "IBR" prefix (e.g., use 123456 instead of IBR123456). There is a limit of 10 orders to be fetched in each request. | ||||
You can get the value in data.inbound_order_id in Inbound FBT order status change webhook or in data.inventory_records.order.id in the response of Search FBT Inventory Record. | ||||
| include_carton_details | bool | N | true | A boolean flag that determines whether the response should include granular information for each individual carton within the shipment. |
Note: When set to true, the response will include the carton_details field. If set to false or omitted, this field will be excluded from the response payload to optimize performance. |
§6 Request Sample
Query
https://open-api.tiktokglobalshop.com/fbt/202602/inbound_orders?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c×tamp=1625484268&shop_cipher=ROW_RHkDDABBAAB8tKAVoAqsMTjsQZFLyNfY&order_ids=5766071177167344427,5766071177167344428&include_carton_details=true
§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 | |
| ^inbound_orders | []object | A list of inbound order detail information. | |
| ^^order_id | string | 5766071177167344427 | The numeric identifier for inbound order in Fulfilled by TikTok system. |
| ^^order_id_string | string | IBR5766071177167344427 | The string identifier for inbound order in Fulfilled by TikTok system. |
| ^^order_plan_id | string | 5766071177167345050 | Plan identifier for the inbound order. |
| ^^merchant | object | Information regarding the merchant who owns the order. | |
| ^^^id | string | 493493403043 | The identifier of the merchant in Fulfilled by TikTok system. |
| ^^^name | string | ExampleCompany | Name of the Fulfilled by TikTok merchant. |
| ^^create_time | int | 1773778751 | Unix seconds timestamp when the inbound order was created. |
| ^^ship_time | int | 1773778751 | Unix seconds timestamp when the inbound order was shipped. |
| ^^expected_arrival_time | int | 1773778751 | Unix seconds timestamp of the expected arrival time provided by merchant. |
| ^^actual_arrival_time | int | 1773778751 | Unix seconds timestamp of the actual arrival time of the inbound order. |
| ^^warehouse | object | Warehouse information. | |
| ^^^fbt_warehouse_id | string | 121219993203023 | The identifier for warehouse generated by Fulfilled by TikTok system. |
| ^^^business_warehouse_ids | []string | ["121219993209983"] | The business identifier for warehouse generated by TikTok Shop system, correlated with the fbt_warehouse_id. |
| ^^^name | string | TikTok Warehouse | The Fulfilled by TikTok warehouse name. |
| ^^^type | string | FC | Type of warehouse associated with the inbound order. |
Possible values:
HUBFC(Fulfillment Center) | ^^status_logs |[]object | |A list of inbound order operation history. | ^^^operate_time |int |1715398048 |The time when the inbound order is processed by the merchant or warehouses, represented as a Unix timestamp in seconds. | ^^^new_status |string |RECEIVED |The order status in Fulfilled by TikTok (FBT) warehouse after this operation.
Possible values:
WORKINGREADY_TO_SHIPTO_BE_RECEIVEDARRIVED_HUBINTERNAL_TRANSFERRECEIVINGPARTIALLY_RECEIVEDRECEIVEDCANCELLEDDELIVERED| ^^^previous_status |string |PARTIALLY_RECEIVED |The order status in Fulfilled by TikTok (FBT) warehouse before this operation.
Possible values:
WORKINGREADY_TO_SHIPTO_BE_RECEIVEDARRIVED_HUBINTERNAL_TRANSFERRECEIVINGPARTIALLY_RECEIVEDRECEIVEDCANCELLEDDELIVERED| ^^^operator |string |Warehouse |The unique identifier or name of the user or system entity that performed the status change. | ^^logistic_info_list |[]object | |List of logistics information tied to the order. Only populated for small-parcel inbound orders. | ^^^provider_name |string |UPS |Name of the logistics service provider
Possible values:
FEDEX(Federal Express)UPS(United Parcel Service)DHL(DHL Express)USPS(United States Postal Service)OTHER(All other logistics providers) | ^^^waybill_number |string |889042812410 |The tracking number for the current inbound shipment with the carrier. | ^^^related_number |string |C0001 |Carton number tied to the logistics information. | ^^carton_details |[]object | |Detailed carton information for the inbound order. Only populated ifinclude_carton_detailsis passed as true in the request. | ^^^carton_no |string |C0001 |Carton number. | ^^^carton_type |string |SINGLE_SKU |Whether this carton is single-SKU or multi-SKU.
Possible values:
SINGLE_SKUMULTI_SKU| ^^^box_measurements |object | |Carton measurement. | ^^^^weight |string |5 |Carton weight. | ^^^^weight_unit |string |KILOGRAM |The unit of measurement used for the weight of the items or cartons in this shipment.
Possible values:
KILOGRAM(kg)GRAM(g)MILLIGRAM(mg)POUNDS(lbs)OUNCE(oz) | ^^^^width |string |6 |Carton width. | ^^^^height |string |7 |Carton height. | ^^^^length |string |8 |Carton length. | ^^^^length_unit |string |METER |The unit of measurement used for the dimensions (length, width, height) of the items or cartons in this shipment.
Possible values:
METER(m)CENTIMETER(cm)MILLIMETER(mm)FOOT(ft)MICRON(μm)INCH(in) | ^^^items |[]object | |List of items in this carton. | ^^^^goods_id |string |Goods id. |Identifier for goods within the Fulfilled by TikTok system. | ^^^^quantity |int |10 |Quantity of this goods lot in th ecarton. | ^^inbound_goods_lot_receive_item_details |[]object | |A detailed breakdown of planned versus actual receiving information, segmented by item, lot number, and expiration date. | ^^^goods_id |string |7603596185 |The unique numeric identifier of the goods within Fulfilled by TikTok. | ^^^lot_code |string |LOT-2024-XP9 |The specific batch or lot number assigned by the manufacturer for this group of items. | ^^^expiration_time |int |1735689600 |The expiration date of the items in this lot, provided as a Unix timestamp in seconds. | ^^^planned_count |int |100 |The total quantity of this specific lot expected to be received as part of the inbound order. | ^^^normal_received_count |int |98 |The quantity of items received at fulfillment centers in sellable (good) condition for this lot. If the inbound order is sent to a hub, this value will only be updated when the goods are subsequently transferred to the fulfillment center. | ^^^defective_received_count |int |2 |The quantity of items received in a damaged or unsellable state. | ^^^total_received_count |int |100 |The sum of bothnormal_received_countanddefective_received_count. |
§8 Response Sample
{"code":0,"data":{"inbound_orders":[{"order_id":"5766071177167344427","order_id_string":"IBR5766071177167344427","order_plan_id":"5766071177167345050","merchant":{"id":"493493403043","name":"ExampleCompany"},"create_time":1773778751,"ship_time":1773778751,"expected_arrival_time":1773778751,"actual_arrival_time":1773778751,"warehouse":{"fbt_warehouse_id":"121219993203023","business_warehouse_ids":["121219993209983"],"name":"TikTok Warehouse","type":"FC"},"status_logs":[{"operate_time":1715398048,"new_status":"RECEIVED","previous_status":"PARTIALLY_RECEIVED","operator":"Warehouse"}],"logistic_info_list":[{"provider_name":"UPS","waybill_number":"889042812410","related_number":"C0001"}],"carton_details":[{"carton_no":"C0001","carton_type":"SINGLE_SKU","box_measurements":{"weight":"5","weight_unit":"KILOGRAM","width":"6","height":"7","length":"8","length_unit":"METER"},"items":[{"goods_id":"Goods id.","quantity":10}]}],"inbound_goods_lot_receive_item_details":[{"goods_id":"7603596185","lot_code":"LOT-2024-XP9","expiration_time":1735689600,"planned_count":100,"normal_received_count":98,"defective_received_count":2,"total_received_count":100}]}]},"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 |
|---|---|
| 36009003 | Internal error. Please try again. If the issue persists after multiple attempts, please contact platform support. |
| 39001002 | Request or request parameters are empty. Please recheck the input parameters. |
| 39015009 | SellerId input is invalid |
| 39015010 | No inbound orders found for the merchant. |
| 39015020 | Number of orders in request exceeds the configured limit. |
