接口调用公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
key | String | 是 | 调用key(注册获取key) |
secret | String | 是 | 调用密钥 |
api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
version | String | 否 | API版本 |
buyer_order_list-获取购买到的商品订单列表
请求参数
请求参数:page=1&tab_code=all
参数说明:page:页码
tab_code:all,waitPay,waitSend,waitConfirm,waitRate
-标签类型(全部,待付款,待发货,待确认,待评价)
token:SaaS授权
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
order_id |
Bigint | 0 | 367668864711001234 | 订单ID |
shop_name |
String | 0 | 充值中心 | 店铺名称 |
seller_id |
Bigint | 0 | 814074396 | 卖家ID |
seller_nick |
String | 0 | 君宝话费充值专营店 | 卖家昵称 |
goods |
Mix | 0 | [{"goods_name": "话费充值-江西电信", "goods_id": "16262273512", "goods_image": "//img.alicdn.com/tfs/TB1c8NJSFXXXXbgXFXXXXXXXXXX-184-184.png", "unit_price": "¥10.00", "original_price": null, "goods_count": "1", "goods_info": "充值号码:199xxxxxxxx \n充值面额:10元"}] | 商品列表 |
buyer_order_detail-获取购买到的商品订单详情
请求参数
请求参数:order_id=&onlystatus=0
参数说明:order_id:订单ID
token:SaaS授权
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
take_baby |
String | 0 | ||
payment_alipay |
String | 0 | 支付宝 | |
seller_delivery |
String | 0 | 卖家收货地址 | |
confirm_time |
String | 0 | 确认时间 | |
evaluate_time |
String | 0 | 评价时间 | |
delivery_countdown |
String | 0 | 商品到达剩余时间 | |
trade_status |
String | 0 | 订单状态: 交易成功 | 交易状态 |
delivery_way |
String | 0 | logistic | 送货方式 |
logistics_company |
String | 0 | 顺丰速运 | 物流公司 |
waybill |
Bigint | 0 | 76743627xxxx | 运单号码 |
logistics_follow |
String | 0 | 顺丰速运 | 物流跟踪 |
delivery_addr |
Bigint | 0 | peng,19900001111,江西省 新余市 渝水区 城北街道 人民北路313号 ,338000 | 收货地址 |
buyer_message |
String | 0 | - | 买家备注 |
seller_name |
String | 0 | selected官方旗舰店 | 卖家昵称 |
seller_real_name |
String | 0 | 绫致时装销售(天津)有限公司 | 卖家实名 |
seller_city |
String | 0 | 天津 | 卖家所在城市 |
seller_phone |
String | 0 | 400-8001234 | 客服电话 |
order_num |
Bigint | 0 | 298482016040012345 | 订单号 |
alipay_num |
Bigint | 0 | 2018121622001168940583001234 | 支付宝订单号 |
goods |
Mix | 0 | [{"auction_url": "//trade.taobao.com/trade/detail/tradeSnap.htm?tradeID=29848201604571xxxx", "goods_id": null, "goods_img": "//img.alicdn.com/imgextra/i1/849905958/O1CN011tsoDu6YZLBaF7F_!!849905958.jpg", "goods_name": "Selected/斯莱德马海毛羊毛混纺色块男士毛衫", "goods_info": [{"name": "颜色", "value": "碳花灰色CHARCOAL MELANGE"}], "goods_status": "交易成功", "unit_price": "349.50", "goods_count": "1", "discount": null }] | 商品信息 |
goods_money |
String | 0 | ¥100.00 | 商品金额 |
logistics_money |
String | 0 | ¥0.00 | 物流费用 |
total_money |
String | 0 | ¥100.00 | 总金额 |
real_money |
String | 0 | ¥100.00 | 实际支付金额 |
stepbar |
Mix | 0 | {"current": 3, "options": [{"content": "拍下商品", "time": "2018-12-16 22:37:58"}, {"content": "付款到支付宝", "time": "2018-12-16 22:38:31"}, {"content": "卖家发货", "time": "2018-12-17 09:19:55"}, {"content": "确认收货", "time": "2019-01-01 09:20:07"}, {"content": "评价"} ]] | 步骤 |
seller_order_list-获取卖出的商品订单列表
请求参数
请求参数:page=&tabCode=&dateBegin=&dateEnd=&buyerNick=&itemTitle=&orderId=&lastStartRow=&detail=&page_size=
参数说明:page:页码
&tabCode:[waitBuyerPay,waitSend,haveSendGoods,refunding,waitRate,success,closed,before3Months]
dateBegin:开始时间,dateEnd:结束时间(格式:yyyy-mm-dd hh:ii:ss)
buyerNick:买家昵称,如不填写则为当前登录用户
itemTitle:宝贝标题
orderId:订单编号
lastStartRow:查三个月前订单用到的参数
detail:此参数高级用户才支持
token:SaaS授权
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
order_id |
Bigint | 0 | 368830339413001234 | 订单号 |
deal_time |
Date | 0 | 2019-03-06 18:14:25 | 处理时间 |
buyer_nick |
String | 0 | abc123 | 买家昵称 |
buyer_name |
String | 0 | 买家姓名 | |
seller_id |
Bigint | 0 | 557039353 | 卖家id |
goods |
Mix | 0 | [{"goods_name": "爆款PP棉公仔粉红色猪表情毛绒玩具软体羽绒棉可爱猪抱枕弹力女生", "goods_id": "368830339413841880", "goods_image": "//img.alicdn.com/imgextra/i4/557039353/O1CN010aX1Is2Ixi⼀b0_!!557039353.jpg_sum.jpg", "unit_price": "28.00", "goods_count": "2", "goods_info": "颜色分类:大眼呆蒙;高度:40cm(0.4公斤)", "goods_code": "qb"}] | 商品信息列表 |
total_price |
Float | 0 | 56.00 | 总价 |
freight |
Float | 0 | 运费 | |
trading_status |
String | 0 | 交易成功 | 交易状态 |
countdown |
String | 0 | 剩余时间 |