v2.first_mile.unbind_first_mile_tracking_number
POST /api/v2/first_mile/unbind_first_mile_tracking_number
Use this api to unbind first mile.
Endpoint URL
URL: https://partner.shopeemobile.com/api/v2/first_mile/unbind_first_mile_tracking_number
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 |
|---|---|---|---|---|
| first_mile_tracking_number | string | True | CNF918114805245200519 | The identifier for an API request for error tracking. |
| order_list | object[] | True | The list of order info you want to unbind from the given first mile tracking number. You can specify up to 50 orders in this call. | |
| order_sn | string | True | 20042025DAD68U | Shopee's unique identifier for an order. |
| package_number | string | False | 2332058284081153446 | Shopee's unique identifier for the package under an order. You should't fill the field with empty string when there is't a package number. |
Response Parameters
| Name | Type | Sample | Description |
|---|---|---|---|
| request_id | string | XaGzWciZTDGoPrbfptSparmIwYkUycPb | The identifier for an API request for error tracking. |
| error | string | firstmile.batch_api_all_failed | Indicate error type if hit error. Empty if no error happened. |
| message | string | All failed, please check result_list for detail | Indicate error details if hit error. Empty if no error happened. |
| warning | object[] | Indicate warning message you should take care. | |
| order_sn | string | 2004239MRBBFPJ | Shopee's unique identifier for an order. |
| package_number | string | 2332058284081153446 | Shopee's unique identifier for the package under an order. |
| response | object | Detail informations you are querying. | |
| first_mile_tracking_number | string | CNF918114805245200519 | The first mile tracking number. |
| order_list | object[] | The binding result list of each order. | |
| order_sn | string | 2004239MRBBFPJ | Shopee's unique identifier for an order. |
| package_number | string | 2332058284081153446 | Shopee's unique identifier for the package under an order. |
| fail_error | string | firstmile.invalid_order_status | Indicate error type if one element hit error. |
| fail_message | string | The status of order(order_sn: 2004239MRBBFPJ) is invalid. | Indicate error details if one element hit error. |
, { "order_sn": "2004239MRBBFPJ" } ] }