文档
测试

获取会员销售订单

POST
GetShopsOrdersForOfflineShops

接口描述

获取会员销售订单

请求参数

参数名
类型
描述
必填
dataJson
object
数据参数
必填
member_id
number
会员ID 示例:100000
必填
client_key
string
密钥 示例:A5D22FF169993B30EFD2F2AE2A1875B572AA1835D2DBA51C588E601FA684CF4C
必填
index
number
当前页码 默认值:1
可选
size
number
每页数量 默认值:20
可选
status
number
订单状态 默认值:0 【0全部 2已付款 3已发货 5已完成(含4待评价)】
可选

响应参数

参数名
类型
描述
必填
data
object
数据字典
必填
total
number
总数量 示例:2
必填
status
number
订单状态 【0全部 2已付款 3已发货 4待评价 5已完成 】示例:0
必填
index
number
当前页码 示例:1
必填
size
number
每页数量 示例:20
必填
list
array
数据列表
必填
order_id
number
订单ID 示例:10000003
必填
status
number
状态 示例: 【 2已付款 3已发货 4待评价 5已完成 】
必填
order_amount
number
订单金额 示例:300
必填
items
array
数据列表
必填
paid_to_share
number
分享可赚金额 示例:10
必填
_is_first_order_back
boolean
是否首单 示例:true
必填
cash_back
number
首单返现 示例:5
必填
id
number
订单商品项ID,非商品ID 示例:3
必填
activity_id
number
活动ID 示例:1001
必填
image_url
string
图片 示例:http://localhost:7031//Upload/Flie/1004/1004_20200212193127_82743.jpg
必填
name
string
商品名称 示例:叫啥商品
必填
price
number
商品单价 示例:100
必填
nums
number
商品数量 示例:3
必填
market_price
number
商品市场价
必填
inventory
number
商品库存
必填
goods_nums
number
商品数量 示例:3
必填
remaining_time
number
支付剩余时间(秒)示例:0
必填
order_type
number
订单类型 【0普通订单 1拼团订单】 示例:0
必填
spell_group_id
number
拼团/开团ID 示例:0
必填
invited
object
推荐人信息,如果没有推荐人不会返回 数据字典
可选
member_id
number
会员ID 示例:100003
必填
name
string
昵称 示例:测试名
必填
created_date
string
创建时间
必填
payment_date
string
支付时间
必填
ret
number
示例:0
必填
err_code
number
示例:0
必填
msg
string
示例:ok
必填

说明 / 示例

## 接口地址 ## 成功返回示例 ```language { "data": { "total": 3, "status": 2, "index": 1, "size": 20, "list": [ { "invited": { "member_id": 100005, "name": "鬥吖" }, "created_date": "2020-03-11 15:58:32", "payment_date": "2020-03-11 15:58:38", "order_id": 10000011, "status": 2, "order_amount": 0.01, "items": [ { "paid_to_share": 0.0001, "_is_first_order_back": false, "cash_back": 0.0, "id": 11, "activity_id": 1001, "image_url": "https://BMTribeShops.qssmart.cn//Upload/Flie/1001/1001_20200227112916_32349.jpg", "name": "xx商品", "price": 0.01, "nums": 1, "market_price": 50.0, "inventory": 97 } ], "goods_nums": 1, "remaining_time": 0.0, "order_type": 0, "spell_group_id": 0 }, { "invited": { "member_id": 100005, "name": "鬥吖" }, "created_date": "2020-03-11 15:16:13", "payment_date": "2020-03-11 15:16:18", "order_id": 10000010, "status": 2, "order_amount": 0.01, "items": [ { "paid_to_share": 0.0001, "_is_first_order_back": false, "cash_back": 0.0, "id": 10, "activity_id": 1001, "image_url": "https://BMTribeShops.qssmart.cn//Upload/Flie/1001/1001_20200227112916_32349.jpg", "name": "xx商品", "price": 0.01, "nums": 1, "market_price": 50.0, "inventory": 97 } ], "goods_nums": 1, "remaining_time": 0.0, "order_type": 0, "spell_group_id": 0 }, { "invited": { "member_id": 100005, "name": "鬥吖" }, "created_date": "2020-03-11 15:14:00", "payment_date": "2020-03-11 15:18:07", "order_id": 10000009, "status": 2, "order_amount": 0.01, "items": [ { "paid_to_share": 0.0001, "_is_first_order_back": false, "cash_back": 0.0, "id": 9, "activity_id": 1001, "image_url": "https://BMTribeShops.qssmart.cn//Upload/Flie/1001/1001_20200227112916_32349.jpg", "name": "xx商品", "price": 0.01, "nums": 1, "market_price": 50.0, "inventory": 97 } ], "goods_nums": 1, "remaining_time": 0.0, "order_type": 0, "spell_group_id": 0 } ] }, "ret": 0, "err_code": 0, "msg": "ok" } ``` >i 注:ret = 0 为成功 ## 失败返回示例 ```language { "ret": 4, "msg": "参数不能为空", "err_code": 10008 } ``` >d 注:ret > 0 为失败 ## 错误编号(errCode):