文档中心 > Developing documents(已废弃)

AE Logistics API docking instructions

更新时间:2019/02/26 访问次数:1609
For t he same logistics channel, different coding is required in different scenarios. Take the worry-free standard as an example to illustrate how to use it in different scenarios.
 
 
Buyers place trade orders & sellers to declare shipments
The logistics line code that the seller needs to fill out when it declares the shipment. The APIs involved are as follows:

If you want to query the line code used in this scenario, you can use aliexpress.logistics.redefining.listlogisticsservice to get the results of the following example.
    {
        "display_name": "Euro-business Parcel",
        "logistics_company": "CAINIAO_OVERSEA_STD_SERVICE_ES",
        "max_process_day": 5,
        "min_process_day": 1,
        "recommend_order": 10,
        "service_name": "CAINIAO_OVERSEA_STD_SERVICE_ES",
        "tracking_no_regex": "(^[0-9]{12}$)"
    }


Seller creates online logistics order


Use logistics line code with warehouse information when creating online logistics orders.

Logistics line code with warehouse information is obtained using alexexpress.logistics.redefining.getonlinelogisticsservicelistbyorderid, the sample results are as follows
    {
        "otherFees": null,
        "logisticsServiceId": "CAINIAO_STANDARD_TS_12350032",
        "logisticsServiceName": "AliExpress 无忧物流-标准",
        "deliveryAddress": "河南省郑州市其它区\t经开区第十九大街与经南七路北竹林松大东一厂房一楼西侧燕文物流",
        "logisticsTimeliness": "15-45天",
        "isExpressLogisticsService": false,
        "warehouseName": "燕文郑州仓-标准",
        "class": "com.alibaba.intl.ae.biz.aeop.share.dataobject.logistics.AeopOnlineLogisticsServiceResult",
        "trialResult": "CN¥74.55"
    }


Create an online logistics order

Pick up & send to the warehouse

 

domestic_logistics_company_id

domestic_logistics_company

domestic_tracking_no

pick up address

Pick up

-1

Pick up

none

required

send to the warehouse

505

Yuantong Express

123456789

be blank


Get online shipping order number

Creating an online logistics order does not return an international waybill number (intl_tracking_no), you can use aliexpress.logistics.querylogisticsorderdetail (query logistics order information (recommended)) to query the international waybill number.


About the statement of delivery

    1, aliexpress.logistics.sellershipmentfortop (recommended)
The main order is declared to be shipped. At present, the “tip goods” goods use the supply chain warehouse delivery system, and the sub-orders of the supply chain docking declare delivery.
        1) If the order is a normal commodity, the main order is declared to be shipped according to the original logic.
        2) If the order contains a combination of “tip goods” and common goods, the interface will filter the goods in the order and then deliver the ordinary goods to the sub-order.

    2, alexexpress.logistics.sellershipmentsupportsubtradeorder
        Declare delivery for sub-orders, the current business has not yet begun to request access

FAQ

关于此文档暂时还没有FAQ
返回
顶部