Use this api to initiate logistics including arrange pickup, dropoff or shipment for non-integrated logistic channels. Should call v2.logistics.get_mass_shipping_parameter to fetch all required params first. It's recommended to initiate logistics one hour after the orders were placed since there is one-hour window buyer can cancel any order without request to seller. The API can only batch arrange shipment for multiple packages under the same product_location_id and same logistics_channel_id.
The API can only batch arrange shipment for multiple packages under the same product_location_id and same logistics_channel_id.; Use this field to specify the logistics_channel_id for the request. If not specified, will use the logistics_channel_id corresponds to the first package_number by default.
product_location_id
string
No
The API can only batch arrange shipment for multiple packages under the same product_location_id and same logistics_channel_id.; Use this field to specify the product_location_id for the request. If not specified, will use the product_location_id corresponds to the first package_number by default.
package_list
object[]
Yes
The list of packages you want to arrange shipment. limit [1, 50].
package_list.package_number
string
Yes
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.
pickup
object
No
Required parameter ONLY if GetParameterForInit returns "pickup" or if GetLogisticsInfo returns "pickup" under "info_needed" for the same order. Developer should still include "pickup" field in the call even if "pickup" has empty value.
pickup.address_id
int64
No
The identity of address.
pickup.pickup_time_id
string
No
The pickup time id. Retrieved from v2.logistics.get_mass_shipping_parameter, you can only select one from the time_slot_list.; Some logistics channels may not return any date or time for pickup time slots. In such cases, sellers can arrange shipment without selecting any time slot, and Shopee will arrange a suitable timing for these situations.
dropoff
object
No
Required parameter ONLY if GetParameterForInit returns "dropoff" or if GetLogisticsInfo returns "dropoff" under "info_needed" for the same order. Developer should still include "dropoff" field in the call even if "dropoff" has empty value. For logistic_id 80003 and 80004, both Regular and JOB shipping methods are supported. If you choose Regular shipping method, please use "tracking_no" to call Init API. If you choose JOB shipping method, please use "sender_real_name" to call Init API. Note that only one of "tracking_no" and "sender_real_name" can be selected.
dropoff.branch_id
int64
No
0
The identity of branch.
dropoff.sender_real_name
string
No
The real name of sender.
dropoff.tracking_number
string
No
Need input this field when "tracking_number" is returned from "info_need". Please note that this tracking number is assigned by third-party shipping carrier for item shipment.
non_integrated
object
No
Optional parameter when get_mass_shipping_parameter returns "non-integrated" under "info_needed".
non_integrated.tracking_number
object[]
No
Optional parameter for non-integrated channel order. The tracking number assigned by the shipping carrier for item shipment.
non_integrated.tracking_number.package_number
string
Yes
Shopee's unique identifier for the package under an order.
non_integrated.tracking_number.tracking_number
string
Yes
Optional parameter for non-integrated channel order. The tracking number assigned by the shipping carrier for item shipment.
Please upload the invoice or verify the details of the document already submitted, which is currently flagged as invalid by SEFAZ. Correction is required to release the shipment.
error_param
Package is not under the specified fulfilment channel
logistics.error_param
Package is not under the specified warehouse
error_param
Shop id: {shop_id} didn't set {return_store_name} return store, please go back to Shopee Seller Center to complete the setting.
error_param
Shop id: {shop_id},return store:{return_store_name} not found.
logistics.invalid_address_version
Some addresses are no longer supported per new regulation, please update to avoid wrong fulfilment
logistics.package_already_shipped
This package has already been arranged shipment and you can't call this API again.
logistics.error_param
Package exceeds limit.
error_data
parse data failed
error_data
data not exist
error_param
parameter invalid
error_param
The information you queried is not found.
error_param
Wrong parameters, detail: {msg}.
error_server
Something wrong. Please try later.
error_shop
shopid is invalid
error_param
request not from gateway
error_other
System error. Please try again later.
logistics.warehouse_stock_insufficient
Failed to assign a warehouse with sufficient stock
The App is deleted, and you'll be unable to make any API call.
error_auth
App developer’s permissions for authorizations have been restricted. If you’re a seller, contact the developer for more information. If you’re the developer, refer to the Open Platform Console for details.
error_param
There is no partner_id in query.
error_param
Invalid partner_id.
error_param
no timestamp
error_param
Invalid timestamp
error_param
There is no sign in query.
error_sign
Wrong sign.
invalid_partner_id
Invalid partner_id, please have a check.
error_auth
No permission to current api.
error_api_call_restricted
The App permission for api call have been restricted. If you’re a seller, contact the developer for more information. If you’re the developer, refer to the Open Platform Console for details.
api_suspended
The API is offline. Please call v2 API instead.
error_limit
The total API call number made by your APP has reached the daily API call limit, please try again after 00: 00 (UTC+08:00)
error_rate_limit
Too many requests. You have reached the rate limit. Please try again later.
source_ip_undeclared
Request Source IP ({ip}) is undeclared. Please declare all your IP addresses in the Shopee Open Platform Console > App list > IP Address Whitelist
error_param
Permission denied. This API is currently offline or the request path is incorrect.
error_param
Partner_id is invalid, should be an integer between 0 and 4294967295.
error_param
no timestamp.
error_param
Timestamp is invalid, should be an integer between 0 and 4294967295.
error_param
Timestamp is expired.
error_partner_key_expired
Your API partner key has expired, please reset the Live API Partner Key in Console to get a new valid partner key to call open api.
error_api_permission
This app type has no permission to this API.
error_param
There is no access_token in query.
error_auth
Invalid access_token.
error_auth
Invalid partner_id or shopid.
shop_no_linked
Partner and shop has no linked.
shop_banned
The shop account has been banned. Permissions for shop authorization and API calls have been suspended until the shop account is restored.
invalid_acceess_token
Invalid access_token, please have a check.
partner_shop_no_link
Invalid partner_id or shop_id, please have a check.
error_ashop_api_permission
The shop is Affiliate shop has no permission to call this API.
error_kyc_auth
No permission. Please inform the seller to complete the Seller Registration on Shopee Seller Center first, then this shop can call for this API.
error_auth
System error, please try again later.
error_param
There is no shop_id in query.
error_param
shop_id is invalid, should be an integer between 0 and 4294967295.