文档
测试

商家订单

POST
https://djsh.meiliancheng.cn/index.php?s=/shop/api.order/orderList

请求参数

参数名
类型
描述
必填
page
int
示例:1
必填
wxapp_id
int
示例:10001
必填
shop_id
int
示例:10020
必填
status
string
all:全部,payment:代付款,delivery:待发货,received:待收货,comment:已完成,示例:all
必填
delivery_type
int
10:快递好物,20:到店优惠,示例:10
可选
goods_id
int
商品id,根据商品id查订单
可选
time
string
示例:2020-11-22
可选

响应参数

参数名
类型
描述
必填
data
object
数据字典
必填
list
object
数据字典
必填
total
int
示例:133
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:14
必填
data
array
数据列表
必填
order_id
int
示例:14757
必填
shop_id
int
示例:10020
必填
order_no
string
单号,示例:SHOP_2020091912585510253565
必填
total_price
string
订单金额,示例:72.00
必填
order_price
string
示例:72.00
必填
coupon_id
int
示例:0
必填
coupon_money
string
示例:0.00
必填
points_money
string
示例:0.00
必填
points_num
int
示例:0
必填
virtual_code
string
示例:
必填
virtual_code_money
string
示例:0.00
必填
points_exchange_num
int
积分兑换金额,示例:82
必填
pay_price
string
实际支付金额,示例:72.00
必填
update_price
object
数据字典
必填
symbol
string
示例:+
必填
value
string
示例:0.00
必填
buyer_remark
string
示例:
必填
seller_remark
string
示例:
必填
pay_type
object
数据字典
必填
text
string
示例:微信支付
必填
value
int
示例:20
必填
pay_status
object
数据字典
必填
text
string
示例:已付款
必填
value
int
示例:20
必填
pay_time
int
示例:1600491543
必填
delivery_type
object
数据字典
必填
text
string
示例:快递配送
必填
value
int
示例:10
必填
extract_shop_id
int
示例:0
必填
extract_clerk_id
int
示例:0
必填
express_price
string
示例:0.00
必填
express_id
int
示例:0
必填
express_company
string
示例:
必填
express_no
string
示例:
必填
delivery_status
object
数据字典
必填
text
string
示例:待发货
必填
value
int
示例:10
必填
delivery_time
int
示例:0
必填
receipt_status
object
数据字典
必填
text
string
示例:待收货
必填
value
int
示例:10
必填
receipt_time
int
示例:0
必填
order_status
object
数据字典
必填
text
string
示例:进行中
必填
value
int
示例:10
必填
cancel_time
int
示例:0
必填
points_bonus
int
示例:0
必填
is_settled
int
示例:0
必填
transaction_id
string
示例:
必填
is_comment
int
示例:0
必填
order_source
int
示例:40
必填
order_type
int
示例:0
必填
order_source_id
int
示例:0
必填
source_id
int
示例:0
必填
user_id
int
示例:16980
必填
share_id
int
示例:0
必填
is_delete
int
示例:0
必填
wxapp_id
int
示例:10001
必填
create_time
string
下单时间,示例:2020-09-19 12:58:55
必填
update_time
string
示例:2020-09-19 12:58:55
必填
uniqueOrderNo
string
示例:1001202009190000001787956687
必填
travel_ids
string
示例:
必填
goods
array
商品详情,数据列表
必填
order_goods_id
int
示例:16135
必填
goods_id
int
示例:11857
必填
goods_name
string
示例:菲律宾COCO冰淇淋夹心饼干368g*12包
必填
image_id
int
示例:20821
必填
deduct_stock_type
int
示例:10
必填
spec_type
int
示例:10
必填
spec_sku_id
string
示例:0
必填
goods_sku_id
int
示例:24061
必填
goods_attr
string
示例:
必填
content
string
示例:<p><br/></p><p><img src="https://djsh.meiliancheng.cn/uploads/2020082009495441f680837.jpg"/></p><p><img src="https://djsh.meiliancheng.cn/uploads/20200820095007aeed29896.jpg"/></p><p><br/></p>
必填
goods_no
string
示例:
必填
goods_price
string
示例:72.00
必填
line_price
string
示例:0.00
必填
goods_weight
float
示例:4.416
必填
is_user_grade
int
示例:0
必填
grade_ratio
int
示例:0
必填
grade_goods_price
string
示例:0.00
必填
grade_total_money
string
示例:0.00
必填
coupon_money
string
示例:0.00
必填
points_money
string
示例:0.00
必填
points_num
int
示例:0
必填
points_bonus
int
示例:0
必填
virtual_code_money
string
示例:0.00
必填
exchange_points_num
int
示例:82
必填
exchange_points_money
string
示例:72.00
必填
total_num
int
购买数量,示例:1
必填
total_price
string
示例:72.00
必填
total_pay_price
string
示例:72.00
必填
is_ind_dealer
int
示例:0
必填
dealer_money_type
int
示例:10
必填
first_money
string
示例:0.00
必填
second_money
string
示例:0.00
必填
third_money
string
示例:0.00
必填
is_comment
int
示例:0
必填
order_id
int
示例:14757
必填
user_id
int
示例:16980
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-09-19 12:58:55
必填
image
object
数据字典
必填
file_id
int
示例:20821
必填
shop_id
int
示例:0
必填
storage
string
示例:local
必填
group_id
int
示例:0
必填
file_url
string
示例:
必填
file_name
string
示例:20200820094907dcaeb3669.jpg
必填
file_size
int
示例:406002
必填
file_type
string
示例:image
必填
extension
string
示例:jpg
必填
is_user
int
示例:0
必填
is_recycle
int
示例:0
必填
is_delete
int
示例:0
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-08-20 09:49:07
必填
file_path
string
示例:https://djsh.meiliancheng.cn/uploads/20200820094907dcaeb3669.jpg
必填
address
object
数据字典
必填
order_address_id
int
示例:13444
必填
name
string
示例:王冰瑶
必填
phone
string
示例:15956994198
必填
date_time
int
示例:0
必填
province_id
int
示例:1046
必填
city_id
int
示例:1047
必填
region_id
int
示例:1053
必填
detail
string
示例:县政府7号楼208
必填
order_id
int
示例:14757
必填
user_id
int
示例:16980
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-09-19 12:58:55
必填
region
object
数据字典
必填
province
string
示例:安徽省
必填
city
string
示例:合肥市
必填
region
string
示例:肥东县
必填
user
object
用户信息,数据字典
必填
user_id
int
示例:16980
必填
open_id
string
示例:oFFMt5AyFmy-r7o3fFczTTJbizJs
必填
alipay_user_id
string
示例:
必填
nickName
string
示例:寂隐月
必填
avatarUrl
string
示例:https://thirdwx.qlogo.cn/mmopen/vi_32/QvgZZ5dIWibIB4AgQzDu5ttm8gfp7jNzGWliaYg3uOiaJwUXCXUicuoAxfJ5DXI3Znc6pNiczibm5oAnWMXOiaBjyN3mg/132
必填
gender
string
示例:未知
必填
country
string
示例:
必填
province
string
示例:
必填
city
string
示例:
必填
address_id
int
示例:12107
必填
balance
string
示例:0.00
必填
points
string
示例:90.00
必填
pay_money
string
示例:0.00
必填
commission
string
示例:0.00
必填
expend_money
string
示例:0.00
必填
grade_id
int
示例:0
必填
is_new_user
int
示例:1
必填
is_delete
int
示例:0
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-09-19 12:44:37
必填
update_time
string
示例:2020-09-19 12:58:50
必填
phone
string
示例:15956994198
必填
password
object
示例:null
必填
fid
int
示例:0
必填
mid
int
示例:1
必填
role
int
示例:0
必填
smile
int
示例:0
必填
weixin
object
示例:null
必填
job
object
示例:null
必填
email
object
示例:null
必填
source_name
object
示例:null
必填
source_text
object
示例:null
必填
source_cardid
object
示例:null
必填
lasttime
object
示例:null
必填
group_tags
object
示例:null
必填
company
object
示例:null
必填
position
object
示例:null
必填
source_type
int
示例:1
必填
scene
object
示例:null
必填
source_id
object
示例:null
必填
phonemodel
object
示例:null
必填
address
object
示例:null
必填
username
object
示例:null
必填
is_mix
int
示例:0
必填
share_shop_id
int
示例:10247
必填
contract_id
string
示例:0
必填
shop_contract_id
object
示例:null
必填
state_text
string
状态,示例:已付款,待发货
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填