v2.logistics.get_tracking_info
GET /api/v2/logistics/get_tracking_info
Use this api to get the logistics tracking information of an order.
Endpoint URL
URL: https://partner.shopeemobile.com/api/v2/logistics/get_tracking_info
Common Request Parameters
| Name | Type | Sample | Description |
|---|---|---|---|
| partner_id | int | 1 | Partner ID is assigned upon registration is successful. Required for all requests. |
| timestamp | timestamp | 1610000000 | This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes. |
| access_token | string | c09222e3fc40ffb25fc947f738b1abf1 | The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours. |
| shop_id | int | 600000 | Shopee's unique identifier for a shop. Required param for most APIs. |
| sign | string | e318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2 | Signature generated by partner_id, api path, timestamp, access_token, shop_id and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2 |
Request Parameters
| Name | Type | Required | Sample | Description |
|---|---|---|---|---|
| order_sn | string | True | 2409177JCSRTEU | Shopee's unique identifier for an order. |
| package_number | string | False | Shopee's unique identifier for the package under an order. You shouldn't fill the field with empty string when there is a package number. |
Response Parameters
| Name | Type | Sample | Description |
|---|---|---|---|
| request_id | string | e3e3e7f33c4d75f91fb48ecb41aa2a01:010003d71ed9e184:00000066cec6b739 | The identifier for an API request for error tracking. |
| error | string | Indicate error type if hit error. Empty if no error happened. | |
| message | string | Indicate error details if hit error. Empty if no error happened. | |
| response | object | Detail informations you are querying. | |
| order_sn | string | 2409177JCSRTEU | Shopee's unique identifier for an order. |
| package_number | string | Shopee's unique identifier for the package under an order. | |
| logistics_status | string | LOGISTICS_DELIVERY_FAILED | The logistics status for the order. Applicable values: See Data Definition- LogisticsStatus. |
| tracking_info | object[] | The tracking info of the order. | |
| update_time | timestamp | 1726561500 | The time when the logistics tracking info is updated. |
| description | string | 包裹正退回物流中心 | The description of the logistics tracking info. |
| logistics_status | string | FAILED_DELIVERED | The logistics status for the order. Applicable values: See Data Definition- LogisticsStatus. |
| reversed_tracking_number | string | SG246907296501CU | The tracking number of the reversed logistics. Note: Only apply to the cross-border segment of failed delivery parcels returned from the local return warehouse to the seller. |
| reversed_courier_name | string | SPX Express | The courier name of the reversed logistics. Note: Only apply to the cross-border segment of failed delivery parcels returned from the local return warehouse to the seller. |
| reversed_tracking_info | object[] | The tracking information of the reversed logistics. Note: Only apply to the cross-border segment of failed delivery parcels returned from the local return warehouse to the seller. | |
| update_time | int64 | 1729842624 | The time when the reversed logistics tracking info is updated. |
| description | string | 当地仓库已备货,包裹准备发运 | The description of the reversed logistics tracking info. |