创建订单

基本信息

  • 接口状态:已完成
  • 接口URL:POST /api/shopintegral/order/create
  • Content-Type:application/json
  • 认证方式:token认证

请求参数

{
  "id":"20230317113241EKzNF3",
  "source":3,
  "message":"",
  "goodsList":[{"id":34,"catalog_id":[1129,1139],"title":"Vans范斯官方 水兵月蓝侧边条纹复古男鞋女鞋中帮潮帆布鞋","unit":"件","video_type":0,"video":"","images":[{"title":"1.png","type":"image","size":"23281","url":"/upload/image/20230310/5954c71aaf23714a36633e35d2bec42d.png","status":1,"theme":"onekeyadmin","create_time":"2023-03-10 14:08:01","id":"1300","cover":"/upload/image/20230310/5954c71aaf23714a36633e35d2bec42d100x100.png","rename":false,"ctitle":"1.png","check":true},{"title":"2.jpg","type":"image","size":"154250","url":"/upload/image/20230310/39a1be86ba7f66c9e709e6cdc050c60a.jpg","status":1,"theme":"onekeyadmin","create_time":"2023-03-10 14:08:01","id":"1301","cover":"/upload/image/20230310/39a1be86ba7f66c9e709e6cdc050c60a100x100.jpg","rename":false,"ctitle":"2.jpg","check":true},{"title":"4.jpg","type":"image","size":"193648","url":"/upload/image/20230310/171af39f9fd0458f422a06ad82618788.jpg","status":1,"theme":"onekeyadmin","create_time":"2023-03-10 14:08:01","id":"1303","cover":"/upload/image/20230310/171af39f9fd0458f422a06ad82618788100x100.jpg","rename":false,"ctitle":"4.jpg","check":true},{"title":"5.jpg","type":"image","size":"128013","url":"/upload/image/20230310/b3209aa35c247ab3d8a389bded07da27.jpg","status":1,"theme":"onekeyadmin","create_time":"2023-03-10 14:08:02","id":"1304","cover":"/upload/image/20230310/b3209aa35c247ab3d8a389bded07da27100x100.jpg","rename":false,"ctitle":"5.jpg","check":true},{"title":"6.jpg","type":"image","size":"145060","url":"/upload/image/20230310/637807018774fa0cccc8d8bcbd73d20c.jpg","status":1,"theme":"onekeyadmin","create_time":"2023-03-10 14:08:02","id":"1305","cover":"/upload/image/20230310/637807018774fa0cccc8d8bcbd73d20c100x100.jpg","rename":false,"ctitle":"6.jpg","check":true}],"code":"","integral":599,"stock":265,"weight":"0.00","volume":"0.00","content":"<p><img src=\"http://img.alicdn.com/imgextra/i4/746866993/O1CN01lwbJP821WqOshF5Rn_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01oFHR3t21WqOn5kl7x_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01pb0veD21WqOuPBehG_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i3/746866993/O1CN01ETV3Vv21WqOovSDm0_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i1/746866993/O1CN01wqPoMr21WqOn5jxH7_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i4/746866993/O1CN01sBGXlv21WqOipDxKa_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i3/746866993/O1CN01RFhL8i21WqOv7thlQ_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01FVYCEA21WqOr5yKbG_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i3/746866993/O1CN01eupYYr21WqOq5T3vt_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01whEagh21WqOradRr2_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01VcQ87b21WqOocP3bS_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01dr88dw21WqOtRAznO_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i1/746866993/O1CN01KhJLiM21WqOq5QFIU_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i1/746866993/O1CN012zQiBh21WqOtR9Nvt_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i3/746866993/O1CN018CinsZ21WqOn7nW1Y_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN014toRKD21WqOshGxwF_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01tpevTO21WqOradRs5_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01t3MKqE21WqOtR9Jnl_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i3/746866993/O1CN01pgQsrx21WqOovRcLb_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i4/746866993/O1CN01MJ5d3h21WqOe6QDQg_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01wiFOso21WqOngWv7w_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01PyxAcn21WqOipCkV1_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01f3uvVD21WqOovRDOl_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i4/746866993/O1CN01rIFUNa21WqOq5R7M6_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i3/746866993/O1CN01M0K3fK21WqOtR7AjZ_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i3/746866993/O1CN01BC4QSZ21WqOkwitht_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01oaeiKh21WqOn5kQMx_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01WfcnCk21WqOe6TdUO_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i1/746866993/O1CN01XN0siB21WqOn7pG6S_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i1/746866993/O1CN01F6ddnn21WqOovPwOV_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i3/746866993/O1CN014A5deb21WqOn7o3FS_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i4/746866993/O1CN01U3fbtM21WqOq5PVYr_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i3/746866993/O1CN01SWEqnL21WqOkwipXc_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i1/746866993/O1CN01QpZHsX21WqOuPB7Rc_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i1/746866993/O1CN01X3UGao21WqOkLLc8v_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i4/746866993/O1CN010WCdLN21WqOkLLc9E_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i1/746866993/O1CN01sguzHe21WqOn5kQOP_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i1/746866993/O1CN018knooe21WqOshGYyd_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i1/746866993/O1CN01z7sBnO21WqOocOzRN_!!746866993.jpg\" /><img src=\"http://img.alicdn.com/imgextra/i2/746866993/O1CN01U5qwQJ21WqOn5l5vE_!!746866993.jpg\" /></p>","seo_description":"","max_buy":0,"min_buy":1,"sales":0,"evaluates":0,"shares":0,"clicks":3,"star":"5.0","sort":0,"create_time":"2023-03-10 14:09","update_time":"2023-03-10 14:09","sale_time":"2023-03-10 14:09","status":1,"delete":0,"number":1,"goods_id":34,"cover":"/upload/image/20230310/5954c71aaf23714a36633e35d2bec42d.png"}],
  "address":{"id":1,"user_id":1,"consigner":"木可","mobile":"15757396315","province":"北京","city":"北京市","district":"东城区","address":"退货地址","default":1,"pcd":["北京","北京市","东城区"]},
  "token":"$2y$12$nQf0poUTadNh/Ji4ElXL5ORFs9U.gjWBzgJGlzD0sBW4Fv5TlPVkS"
}
参数名 参数值 是否必填 参数类型  描述说明
message   String 订单备注
source 3 Int 订单来源1小程序 2APP 3PC 4H5 5公众号
id 202303161601260nqFr7 String 订单号
goodsList [] Array 商品信息
address {} Object 收货地址信息
token   String 用户token

响应示例

{
  "status":"success",
  "message":"订单提交成功",
  "data":{"order_no":"20230317113241EKzNF3","user_id":1,"user_nickname":"muke","user_message":"","admin_message":"","receiver_mobile":"15757396315","receiver_province":"北京","receiver_city":"北京市","receiver_district":"东城区","receiver_address":"退货地址","receiver_name":"木可","integral":599,"goods_number":1,"shipping_code":"","shipping_company":"","shipping_company_code":"","create_time":"2023-03-17 11:36","pay_time":"1970-01-01 08:00","consign_time":"1970-01-01 08:00","sign_time":"1970-01-01 08:00","finish_time":"1970-01-01 08:00","status":2,"delete":0,"source":3,"id":"6"}
}
参数名 参数值 参数类型  描述说明
status
success String 状态
message
获取成功
String
描述
data {} Object 订单信息

 

文档最后更新时间:2023-03-17 11:37:45