将订单信息通过奇门上传到网能
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
order_id | String | 必须 | 133123 | 订单id | |
store_id | String | 必须 | 9002 | 机构编码 | |
division_number | String | 必须 | 1231231 | 区划编码 | |
total_fee | String | 必须 | 110.00 | 总价 | |
order_source | String | 必须 | J | 健康 | |
sub_order_list | SubOrder [] | 必须 |
|
子订单信息 | |
|
|||||
buyer_name | String | 必须 | 张三 | 买家的名字 | |
buyer_idcard | String | 必须 | 130711198701013421 | 买家身份证号 | |
brescribing_information | String | 可选 | http://xxxxx.xxx.png | 处方图片地址 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
success | String | true | 调用是否成功 |
errorCode | String | 10 | 返回错误码 |
errorMsg | String | 错误 | 返回错误信息 |
result | String | 0 | 0成功 |
{"store_id":"9002","brescribing_information":"http://xxxxx.xxx.png","total_fee":"110.00","order_source":"J","buyer_idcard":"130711198701013421","buyer_name":"张三","division_number":"1231231","sub_order_list":[{"unit":"盒","item_id":"11","out_itemd_id":"1321","price":"11.00","title":"演示药品","item_id_type":"254112","buy_amount":"10"}],"order_id":"133123"}
{ "success":"true", "errorCode":"10", "errorMsg":"错误", "result":"0" }
{"success":"false","errorCode":"sign-check-failure","errorMsg":"Illegal request"}
错误码 | 错误描述 | 解决方案 |
---|