淘淘商城接口说明订单系统V1.0淘淘商城淘淘商城接口说明1创建订单用户使用portal创建订单、android、ios、微信商城提交订单时使用。请求方法POSTURL参数说明提交的数据格式:{payment:5288,postFee:0,userId:3,buyerMessage:null,buyerNick:zhang123,orderItems:[{itemId:9,num:1,title:苹果(Apple)iPhone6(A1586)16GB金色移动联通电信4G手机3,price:5288,totalFee:5288,picPath:}],orderShipping:{receiverName:张三,receiverPhone:,receiverMobile:15800000000,receiverState:上海,receiverCity:上海,receiverDistrict:闵行区,receiverAddress:三鲁公路3279号明浦广场3号楼205室,receiverZip:200000}}示例返回值{status:200//200成功msg:OK//返回信息消息data:100544//返回订单号}淘淘商城接口说明2根据订单ID查询订单请求方法GETURL{orderId}参数说明orderId:订单编号示例返回值{status:200,msg:OK,data:{orderId:100544,payment:5288,paymentType:1status:1createTime:2015-01-0108:22:14postFee:0,userId:3,buyerMessage:null,buyerNick:zhang123,orderItems:[{itemId:9,num:1,title:苹果(Apple)iPhone6(A1586)16GB金色移动联通电信4G手机3,price:5288,totalFee:5288,picPath:}],orderShipping:{receiverName:张三,receiverPhone:,receiverMobile:15800000000,receiverState:上海,receiverCity:上海,淘淘商城接口说明receiverDistrict:闵行区,receiverAddress:三鲁公路3279号明浦广场3号楼205室,receiverZip:200000}}}3根据用户分页查询订单请求方法GETURL{userID}/{page}/{count}参数说明userID:用户IDPage:请求的页码Count:每页显示的记录数示例返回值{status:200,msg:OK,data:[{orderId:100544,payment:5288,paymentType:1status:1createTime:2015-01-0108:22:14postFee:0,userId:3,buyerMessage:null,buyerNick:zhang123,},{orderId:100545,payment:5288,paymentType:1status:1createTime:2015-01-0108:22:15postFee:0,userId:3,buyerMessage:null,buyerNick:zhang123,},{orderId:100546,淘淘商城接口说明payment:5288,paymentType:1status:1createTime:2015-01-0108:22:16postFee:0,userId:3,buyerMessage:null,buyerNick:zhang123,}]}4修改订单状态请求方法POSTURL参数说明{orderId:100544,//订单编号status:2,//订单状态paymentTime:1414489420444//付款时间}示例=1返回值{status:200//200成功msg:OK//返回信息消息data:null//返回数据}