Chuyển tới nội dung chính

v2.first_mile.get_courier_delivery_channel_list

GET /api/v2/first_mile/get_courier_delivery_channel_list

Dùng API này để lấy thông tin đơn vị vận chuyển cho phương thức giao hàng qua đơn vị vận chuyển.

Đường dẫn Endpoint

URL: https://partner.shopeemobile.com/api/v2/first_mile/get_courier_delivery_channel_list

Tham số chung

TênKiểuMẫuMô tả
partner_idint1ID đối tác được cấp sau khi đăng ký thành công. Bắt buộc cho tất cả các yêu cầu.
timestamptimestamp1610000000Dùng để xác định thời điểm của yêu cầu. Bắt buộc cho tất cả các yêu cầu. Hết hạn sau 5 phút.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1Token dùng để truy cập API, xác định quyền của bạn đối với API. Có thể dùng nhiều lần và hết hạn sau 4 giờ.
shop_idint600000Mã định danh duy nhất của Shopee cho một gian hàng. Tham số bắt buộc cho hầu hết các API.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature 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

Tham số Request

TênKiểuBắt buộcMẫuMô tả
regionstringFalseCNUse this field to specify the region you want to ship parcel. Available value: CN

Tham số Response

TênKiểuMẫuMô tả
errorstringCho biết loại lỗi nếu xảy ra lỗi. Rỗng nếu không có lỗi.
messagestringCho biết loại lỗi nếu xảy ra lỗi. Rỗng nếu không có lỗi.
request_idstringMã định danh cho yêu cầu API, dùng để theo dõi lỗi.
responseobject
logistics_channel_listobject[]
logistics_product_idint641010003The identity of logistics product ID: 1010003: kuaidi100 to C 1010004: kuaidi100 prepaid(MP)
logistics_product_namestringkuaidi100 to CThe name of logistics product ID: - kuaidi100 to C - kuaidi100 prepaid(MP)
courier_listobject[]
courier_namestring德邦快递The name of the courier.
courier_service_idstringLCN80001The identity of the service provided by courier.
courier_service_namestring德邦快递The name of the service provided by courier.