引力商店接口文档


Query Undelivery Order API

<h5>API Description</h5> <ul> <li>Query the list of orders to be delivered</li> </ul> <h5>Request url</h5> <ul> <li><code>{{url}}/api/open/order/undeliveredOrderList</code></li> </ul> <h5>Request Method</h5> <ul> <li>POST </li> </ul> <h5>Request Params</h5> <table> <thead> <tr> <th>param</th> <th>required</th> <th>type</th> <th>desc</th> </tr> </thead> <tbody> <tr> <td>app_key</td> <td>YES</td> <td>String</td> <td>app_key</td> </tr> <tr> <td>app_secret</td> <td>YES</td> <td>String</td> <td>app_secret</td> </tr> <tr> <td>access_token</td> <td>YES</td> <td>String</td> <td>access_token</td> </tr> <tr> <td>page_size</td> <td>NO</td> <td>Integer</td> <td>page size</td> </tr> <tr> <td>page_no</td> <td>NO</td> <td>Integer</td> <td>page number</td> </tr> <tr> <td>start_update_time</td> <td>NO</td> <td>Date</td> <td>order time&gt;=start_update_time</td> </tr> <tr> <td>end_update_time</td> <td>NO</td> <td>Date</td> <td>order time&lt;=start_update_time</td> </tr> </tbody> </table> <h5>Request Example</h5> <pre><code class="language-json">{ "app_key":"af1f6e9820e14d76be17ea2ee1aab", "app_secret":"d756bed00a264d4aa312f00e255a51", "access_token":"f20870d98b1142cfb88a9acf870fa0", "start_update_time":"2019-08-27 11:29:15", "end_update_time":"2019-08-27 11:29:18", "page_size":10, "page_no":1 }</code></pre> <h5>Response Example</h5> <pre><code class="language-json"> {     "code": 1000000,     "msg": "SUCCESS",     "result": {         "order_res_list": [             {                 "address_id": 844,                 "address_res": {                     "address_id": 844,                     "city_name": "Guangzhou",                     "county_name": "Haizhu District",                     "detail_info": "397 Xingang Middle Road",                     "province_name": "Guangdong",                     "receiver_name": "Zhang San",                     "tel_number": "020-81167888"                 },                 "discount_amount": 0,                 "manual_discount_amount": 0,                 "nick_name": "Hang Shao loves to suck cats",                 "order_goods_res_list": [                     {                         "goods_id": 490,                         "goods_name": "AHC essence",                         "order_goods_id": 61283,                         "pay_amount": null,                         "quantity": 5,                         "sku_id": 1437,                         "sku_res": {                             "attribute_value_res_list": [],                             "balance": null,                             "current_price": 1,                             "original_price": 10900,                             "outer_sku_code": "123",                             "sku_id": 1437                         }                     }                 ],                 "order_id": 55208,                 "order_sn": "XS201228000014962661",                 "order_status": 1,                 "order_time": "2020-12-28 15:24:10",                 "order_type": "period_purchase_sub",                 "pay_amount": 0,                 "pay_time": "2021-01-28 00:00:00",                 "refund_status": 0,                 "remark": "Give away",                 "shipment_fee": 0,                 "shipment_type": "self_shipment"             }         ],         "page_no": 1,         "page_size": 1,         "total": 1     },     "success": true }</code></pre> <h5>Response Description</h5> <table> <thead> <tr> <th>param</th> <th>type</th> <th>desc</th> </tr> </thead> <tbody> <tr> <td>order_res_list</td> <td>List</td> <td>orders</td> </tr> <tr> <td>nick_name</td> <td>String</td> <td>user nickname</td> </tr> <tr> <td>province_name</td> <td>String</td> <td>province name of the address</td> </tr> <tr> <td>city_name</td> <td>String</td> <td>city name of the address</td> </tr> <tr> <td>county_name</td> <td>String</td> <td>county name of the address</td> </tr> <tr> <td>detail_info</td> <td>String</td> <td>detail of the address</td> </tr> <tr> <td>receiver_name</td> <td>String</td> <td>receiver name</td> </tr> <tr> <td>tel_number</td> <td>String</td> <td>telephone of the receiver</td> </tr> <tr> <td>order_goods_res_list</td> <td>List</td> <td>goods list in the order</td> </tr> <tr> <td>goods_id</td> <td>Integer</td> <td>goods id</td> </tr> <tr> <td>goods_name</td> <td>String</td> <td>name of the goods</td> </tr> <tr> <td>quantity</td> <td>Integer</td> <td>quantity that user purchase</td> </tr> <tr> <td>sku_id</td> <td>Integer</td> <td>sku id</td> </tr> <tr> <td>attribute_value_res_list</td> <td>List</td> <td>sku attribute info</td> </tr> <tr> <td>attribute_value</td> <td>Integer</td> <td>sku attribute value</td> </tr> <tr> <td>current_price</td> <td>Integer</td> <td>the unit price of product when user place order(monetary unit:one cent RMB)</td> </tr> <tr> <td>outer_sku_code</td> <td>String</td> <td>sku code</td> </tr> <tr> <td>order_goods_res_list .pay_amount</td> <td>Integer</td> <td>the unit pay price of product when user place order(monetary unit:one cent RMB)</td> </tr> <tr> <td>order_id</td> <td>Integer</td> <td>order id</td> </tr> <tr> <td>order_sn</td> <td>String</td> <td>order sn</td> </tr> <tr> <td>order_status</td> <td>Integer</td> <td>order status: 0:ready to pay,1:ready to ship,2:already shipped,3:ready to be picked up, 4:done,5:cancelled</td> </tr> <tr> <td>order_time</td> <td>Date</td> <td>time of the order placed</td> </tr> <tr> <td>order_type</td> <td>String</td> <td>order type: general:general order, points:order ther user use points to exchange,lucky:lottery order,free_order,free order</td> </tr> <tr> <td>order_res_list .pay_amount</td> <td>Integer</td> <td>total amount of the order(monetary unit:one cent RMB)</td> </tr> <tr> <td>pay_time</td> <td>Date</td> <td>pay time</td> </tr> <tr> <td>refund_status</td> <td>Integer</td> <td>refund status: 0,no refund, 1:in process,2:refunded</td> </tr> <tr> <td>shipment_type</td> <td>String</td> <td>'self_shipment':express order</td> </tr> <tr> <td>discount_amount</td> <td>Integer</td> <td>total coupon discount amount user used(monetary unit:one cent RMB)</td> </tr> <tr> <td>manual_discount_amount</td> <td>Integer</td> <td>manual discount amount of the order(monetary unit:one cent RMB)</td> </tr> <tr> <td>shipment_fee</td> <td>Integer</td> <td>shipment fee of the order(monetary unit:one cent RMB)</td> </tr> <tr> <td>remark</td> <td>String</td> <td>user remark</td> </tr> <tr> <td>remarkWh</td> <td>String</td> <td>Warehouse remark</td> </tr> </tbody> </table>

页面列表

ITEM_HTML