# Order Shipments

# Dxplaination of Interface Call Request

When finish_all_delivery = 0, the order status flows to 21 (partial delivery), When finish_all_delivery = 1, the order status flows from 20 (Pending) / 21 (Partially Shipped) to 30 (Pending).

Interface for incremental shipments, not repeatable shipments What if I sent it wrong? A: Follow-up Support

http请求方式:POST
https://api.weixin.qq.com/shop/delivery/send?access_token=xxxxxxxxx

# Example of request parameters

{
    "order_id": 123456,
    "out_order_id": "xxxxx",
    "openid": "oTVP50O53a7jgmawAmxKukNlq3XI",
    "finish_all_delivery": 0,
    "delivery_list": 
    [
        {
            "delivery_id": "SF",
            "waybill_id": "23424324253",
            "product_info_list": [
                {
                    "out_product_id": 1,
                    "out_sku_id": 2, 
                    "product_cnt": 1
                }
            ]
        }
    ],
    "ship_done_time": "2022-01-01 10:24:00"
}

# Examples of back-up

{
    "errcode": 0,
    "errmsg":"ok"
}

# Dxplaination of request parameters

parameter type Is it compulsory? Introductions
order_id number no Order ID
out_order_id string no Custom order ID, and order_id two options
openid string yes User's openid
finish_all_delivery number yes Shipment completion marker point, 0: Not shipped, 1: Shipped
delivery_list DeliveryInfo[] no Delivery information, delivery_type = 1 required
delivery_list[].delivery_id string yes Express company ID, obtained by obtaining the list of express company, will affect the logistics letter query
delivery_list[].waybill_id string yes Tracking number
delivery_list[].product_info_list[] DeliveryProduct[] yes Information about the goods corresponding to the logistics list
delivery_list[].product_info_list[].out_product_id string yes The out_product_id in the order
delivery_list[].product_info_list[].out_sku_id string yes The out_sku_id in the order
ship_done_time string no Complete delivery time, finish_all_delivery = 1 must pass

# Dxplaination of callback parameters

parameter type Introductions
errcode number Error code
errmsg string Error message