文档
测试

我的所有订单列表

GET
http://wxt.raybattleidea.com/api/orders

接口描述

所有订单列表

请求头

参数名
类型
描述
必填
token
string
令牌
必填

请求参数

参数名
类型
描述
必填
type
string
(!!不传默认返回所有订单!!) 待付款 nopay ,待配送 wait_shipments, 待收货 wait_sign_for, 已完成finish, 已关闭closed , 已申请退款refund_applied 退款中refund_processing 退款成功refund_success 退款失败refund_failed
可选
page
默认1
必填
limit
默认10
必填

响应参数

参数名
类型
描述
必填
code
int
0表示成功
必填
message
string
返回信息
必填
data
array
返回数据
必填

说明 / 示例

``` { "code": 0, "msg": "Success", "data": [ { "id": 9, "no": "20190708103510868475", "user_id": 4, "snap_address": { "address": "第46街道第23号", "contact_name": "史桂香", "contact_phone": "15921926506" }, "snap_invoice": { "company_name": "大大哇多", "aaa": "福12312" }, "snap_name": "ducimus", "snap_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg", "snap_items": [ { "sku_id": "3", "title": "nemo", "description": "Sed qui consequatur aut perferendis dolores aut consequatur nam.", "price": "3554.00", "discount_price": "605.00", "amount": "1", "total_amount": 605, "product_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg" } ], "total_amount": "605.00", "remark": "UNIM啊", "paid_at": null, "coupon_code_id": null, "payment_method": null, "payment_no": null, "refund_status": "pending", "refund_no": null, "closed": true, "reviewed": false, "ship_status": "pending", "ship_data": null, "extra": null, "deleted_at": null, "created_at": "2019-07-08 10:35:10", "updated_at": "2019-07-08 10:35:41", "status": "closed", "close_time": null }, { "id": 8, "no": "20190708102831907346", "user_id": 4, "snap_address": { "address": "第46街道第23号", "contact_name": "史桂香", "contact_phone": "15921926506" }, "snap_invoice": { "company_name": "大大哇多", "aaa": "福12312" }, "snap_name": "ducimus", "snap_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg", "snap_items": [ { "sku_id": "3", "title": "nemo", "description": "Sed qui consequatur aut perferendis dolores aut consequatur nam.", "price": "3554.00", "discount_price": "605.00", "amount": "1", "total_amount": 605, "product_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg" } ], "total_amount": "605.00", "remark": "法安慰", "paid_at": null, "coupon_code_id": null, "payment_method": null, "payment_no": null, "refund_status": "pending", "refund_no": null, "closed": true, "reviewed": false, "ship_status": "pending", "ship_data": null, "extra": null, "deleted_at": null, "created_at": "2019-07-08 10:28:31", "updated_at": "2019-07-08 10:29:02", "status": "closed", "close_time": null }, { "id": 7, "no": "20190708102145778263", "user_id": 4, "snap_address": { "address": "第46街道第23号", "contact_name": "史桂香", "contact_phone": "15921926506" }, "snap_invoice": { "company_name": "大大哇多", "aaa": "福娃" }, "snap_name": "ducimus", "snap_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg", "snap_items": [ { "sku_id": "3", "title": "nemo", "description": "Sed qui consequatur aut perferendis dolores aut consequatur nam.", "price": "3554.00", "discount_price": "605.00", "amount": "1", "total_amount": 605, "product_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg" } ], "total_amount": "605.00", "remark": "发文啊啊啊", "paid_at": null, "coupon_code_id": null, "payment_method": null, "payment_no": null, "refund_status": "pending", "refund_no": null, "closed": false, "reviewed": false, "ship_status": "pending", "ship_data": null, "extra": null, "deleted_at": null, "created_at": "2019-07-08 10:21:45", "updated_at": "2019-07-08 10:21:45", "status": "nopay", "close_time": "2019-07-08 11:31:56" }, { "id": 4, "no": "20190705162529536954", "user_id": 4, "snap_address": { "address": "第46街道第23号", "contact_name": "史桂香", "contact_phone": "15921926506" }, "snap_invoice": { "company_name": "大大哇多", "aaa": "福娃" }, "snap_name": "ducimus等", "snap_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg", "snap_items": [ { "sku_id": "2", "title": "sint", "description": "Enim enim quibusdam qui totam.", "price": "1370.00", "discount_price": "527.00", "amount": "6", "total_amount": 8220, "product_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg" }, { "sku_id": "1", "title": "facilis", "description": "Dolores laborum est sit aut optio architecto expedita ut.", "price": "775.00", "discount_price": "563.00", "amount": "2", "total_amount": 1550, "product_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg" } ], "total_amount": "9281.50", "remark": "啊啊啊啊", "paid_at": "2019-07-05 16:32:56", "coupon_code_id": 2, "payment_method": "wechat", "payment_no": "213123123", "refund_status": "pending", "refund_no": null, "closed": false, "reviewed": false, "ship_status": "received", "ship_data": null, "extra": null, "deleted_at": null, "created_at": "2019-07-05 16:25:29", "updated_at": "2019-07-06 16:10:08", "status": "wait_comments", "close_time": null }, { "id": 3, "no": "20190705162327265581", "user_id": 4, "snap_address": { "address": "第46街道第23号", "contact_name": "史桂香", "contact_phone": "15921926506" }, "snap_invoice": { "company_name": "无邪", "aaa": "ooo" }, "snap_name": "ducimus等", "snap_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg", "snap_items": [ { "sku_id": "2", "title": "sint", "description": "Enim enim quibusdam qui totam.", "price": "1370.00", "discount_price": "527.00", "amount": "6", "total_amount": 8220, "product_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg" }, { "sku_id": "1", "title": "facilis", "description": "Dolores laborum est sit aut optio architecto expedita ut.", "price": "775.00", "discount_price": "563.00", "amount": "2", "total_amount": 1550, "product_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg" } ], "total_amount": "9281.50", "remark": "啊啊啊啊", "paid_at": null, "coupon_code_id": 2, "payment_method": null, "payment_no": null, "refund_status": "pending", "refund_no": null, "closed": true, "reviewed": false, "ship_status": "pending", "ship_data": null, "extra": null, "deleted_at": null, "created_at": "2019-07-05 16:23:27", "updated_at": "2019-07-05 16:23:38", "status": "closed", "close_time": null }, { "id": 2, "no": "20190705160653331727", "user_id": 4, "snap_address": { "address": "第46街道第23号", "contact_name": "史桂香", "contact_phone": "15921926506" }, "snap_invoice": { "company_name": "无邪", "aaa": "ooo" }, "snap_name": "ducimus等", "snap_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg", "snap_items": [ { "sku_id": "2", "title": "sint", "description": "Enim enim quibusdam qui totam.", "price": "1370.00", "discount_price": "527.00", "amount": "6", "total_amount": 8220, "product_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg" }, { "sku_id": "1", "title": "facilis", "description": "Dolores laborum est sit aut optio architecto expedita ut.", "price": "775.00", "discount_price": "563.00", "amount": "2", "total_amount": 1550, "product_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg" } ], "total_amount": "9281.50", "remark": "留言", "paid_at": "2019-07-05 16:14:16", "coupon_code_id": 1, "payment_method": "wechat", "payment_no": "1231231312412312", "refund_status": "pending", "refund_no": null, "closed": false, "reviewed": false, "ship_status": "received", "ship_data": null, "extra": null, "deleted_at": null, "created_at": "2019-07-05 16:06:53", "updated_at": "2019-07-05 16:13:02", "status": "wait_comments", "close_time": null }, { "id": 1, "no": "20190705155150221937", "user_id": 4, "snap_address": { "address": "第46街道第23号", "contact_name": "史桂香", "contact_phone": "15921926506" }, "snap_invoice": { "company_name": "无邪", "aaa": "ooo" }, "snap_name": "ducimus等", "snap_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg", "snap_items": [ { "sku_id": "2", "title": "sint", "description": "Enim enim quibusdam qui totam.", "price": "1370.00", "discount_price": "527.00", "amount": "6", "total_amount": 8220, "product_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg" }, { "sku_id": "1", "title": "facilis", "description": "Dolores laborum est sit aut optio architecto expedita ut.", "price": "775.00", "discount_price": "563.00", "amount": "2", "total_amount": 1550, "product_img": "https://iocaffcdn.phphub.org/uploads/images/201806/01/5320/r3BNRe4zXG.jpg" } ], "total_amount": "9281.50", "remark": "留言", "paid_at": null, "coupon_code_id": 1, "payment_method": null, "payment_no": null, "refund_status": "pending", "refund_no": null, "closed": true, "reviewed": false, "ship_status": "pending", "ship_data": null, "extra": null, "deleted_at": null, "created_at": "2019-07-05 15:51:50", "updated_at": "2019-07-05 15:58:08", "status": "closed", "close_time": null } ] } ```