补单迭代
https://station.guanmai.cn/station/order/create_old[修改老接口: 补录订单]
请求方法:POST
请求:
details M list
address_id M str
uid M int
receive_begin_time M str
receive_end_time M str
time_config_id M str
remark O str
force O int
date_time M str (新增)用户指定的下单时间,格式2019-04-30 10:00:00,合单的时候也带上
响应(不变):
code M int
data M dict
msg M str
例子:
request:
details:[{"sku_id":"D10597703","amount":"200","unit_price":"1.00","spu_remark":"","spu_id":"C1999240","is_price_timing":0}],
address_id:"77838",
uid: 73655,
receive_begin_time: "2019-04-30 02:00",
receive_end_time: "2019-04-30 16:00",
time_config_id: "ST2034",
remark: "test hedan222",
date_time : "2019-04-29 20:01:17",
response:
{
"data": {
"update_order_ids": [
"PL5648359"
],
"success_sku_ids": [
"D10597703"
],
"detail_url": "/station/order/edit",
"new_order_ids": [
"PL5648359"
],
"not_enough_inventories": [],
"error_sku_ids": [],
"exceed_order_time_ids": []
},
"msg": "ok",
"code": 0
}