1. 聚合API,适用于APP

返回数据结构约定:errorcode为0则代表请求正确,其他值则有报错,msg为报错提示信息,data为数据主体

正确返回格式

data只要有返回值都要有键值,不允许data内直接返回数组
data为空:{"errorcode": 0,"msg": "","data": {}}
data为空{"errorcode": 0,"msg": "","data": null}
data不为空{"errorcode": 0,"msg": "","data": {"键":"值"}}
data中有列表和翻页 {"errorcode": 0,"msg": "","data": {"list": [{},{}],"pagers": {"total": 3}}}
list(列表主体数据)、pagers、total(总条数)都是关键字,要保持一致

错误返回格式

{"errorcode": 0,"msg": "","data": "true"}
{"errorcode": 0,"msg": "","data": [{},{}]}
{"errorcode": 0,"msg": "","data": [ ]}

1.1. 目录

1.1.1. 地区

region.json 地区JSON数据

1.1.2. 物流

logistics.list.get 获取快递公司列表

logistics.send 售后退换货,用户回寄商品给商家

logistics.get 显示物流信息

1.1.3. 模板

theme.modules 获取页面模块配置

1.1.4. 品牌类目

category.itemCategory 获取平台分类树

1.1.5. 账户

user.login 用户登录

user.logout 用户退出登录

user.signup 用户注册

user.license 注册协议

user.protocol 使用协议

user.verifyAccount 验证账号,用于注册,找回密码

user.sendSms 注册账号和忘记密码发送短信

user.verifySms 验证注册短信和忘记密码短信

user.vcode 获取图片验证码

user.forgot.resetpassword 找回密码重新设置密码

1.1.6. 会员

member.index 会员中心首页数据统计

member.basics.update 更新会员基础资料

member.basics.get 获取会员基本信息

member.setAccount 设置用户名

member.address.list 获取收货地址列表

member.address.get 获取单个收货地址详情

member.address.create 新建收货地址

member.address.update 更新收货地址

member.address.delete 删除收货地址

member.address.setDefault 收货地址设为默认

member.deposit.detail 会员预存款明细

member.deposit.recharge 预存款充值

member.coupon.list 会员我的优惠券列表

member.point.detail 会员积分明细

member.aftersales.list 会员退换货记录列表

member.aftersales.get 会员退换货记录详情

member.aftersales.applyInfo.get 售后申请数据获取

member.aftersales.apply 会员申请退换货

member.favorite.all 获取用户的所有收藏

member.favorite.item.list 获取我的商品收藏列表

member.favorite.item.remove 移除收藏商品

member.favorite.item.add 新增收藏商品

member.favorite.shop.list 获取我的店铺收藏列表

member.favorite.shop.remove 移除收藏店铺

member.favorite.shop.add 新增收藏店铺

member.rate.list 会员中心我的评价列表

member.rate.add 对已完成的订单新增商品评论和店铺评分

member.ratetrade.get 会员评价订单信息

member.rate.append 对商品评论进行追评

member.complaints.create 投诉商家

member.complaints.close 撤销投诉

member.complaints.list 会员中心我的投诉列表

member.complaints.get 会员中心我的投诉详情

member.security.checkLoginPassword 安全中心验证登录密码

member.security.updateLoginPassword 安全中心修改登录密码

member.security.setPayPassword 安全中心设置支付密码

member.security.setPayPasswordByMoblie 忘记预存款密码的短信验证

member.security.checkPayPassword 安全中心验证支付密码

member.security.updatePayPassword 安全中心修改支付密码

member.security.updateMobile 安全中心会员手机号绑定/修改,发送短信验证码

member.security.saveMobile 安全中心会员手机号保存

member.security.userConf 获取会员安全中心相关所有配置

1.1.7. 交易

trade.list 会员订单列表

trade.order.get 子订单详情

trade.get 会员订单详情

trade.cancel.list 获取会员取消订单列表

trade.cancel.get 获取会员取消订单详情

trade.cancel.reason.get 获取平台配置的取消订单原因

trade.cancel.create 获取会员取消订单

trade.confirm 会员确认收货交易完成

trade.create 创建订单

1.1.8. 商品

item.search 获取商品列表

item.detail 获取商品详情

item.desc 获取移动端商品描述

item.packageInfo 商品详情页组合促销详情

item.rate.list 获取商品评价列表

1.1.9. 购物车

cart.get 获取购物车信息

cart.get.basic 获取购物车信息(基础内容)

cart.add 添加购物车数据

cart.del 删除购物车条目

cart.update 更新购物车数据

cart.count 统计购物车商品数量

cart.checkout 购物车结算页

cart.total 购物车结算页计算金额

cart.user.point 购物车结算页处理会员积分

1.1.10. 促销

promotion.activity.list 获取平台活动列表

promotion.activity.detail 获取平台活动详情及其商品列表

promotion.activity.itemdetail 获取平台活动商品详情

promotion.activity.remindinfo 活动订阅信息

promotion.activity.remindsubmit 订阅活动提醒

promotion.shop.cartpromotion.detail 获取商家促销详情

promotion.shop.coupon.detail 获取商家优惠券商品列表

promotion.coupon.use 用户使用优惠券

promotion.coupon.cancel 订单结算取消使用优惠券

promotion.coupon.code.get 用户领取优惠券

promotion.coupon.list.get 用户可领取商家优惠券列表

promotion.hongbao.list 获取会员的红包列表

promotion.page.info 获取促销页面信息

1.1.11. 支付

payment.pay.paycenter 获取支付方式列表

payment.pay.getPayment 获取支付单

payment.pay.create 创建支付单

payment.pay.do 去支付

payment.recharge.do 去支付

1.1.12. 店铺

shop.index 获取店铺首页配置信息

shop.basic 获取店铺基本信息

1.1.13. 内容管理

content.info 获取文章详情

content.list 获取文章列表

content.node.list 获取目录列表

content.shop.info 获取商家文章详情

1.1.14. 图片

image.upload 上传图片

1.2. API详细列表

region.json地区JSON数据

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

无业务参数

返回结果

返回字段 类型 说明
region json 返回地区的json格式数据

logistics.list.get获取快递公司列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

无业务参数

返回结果

未定义返回结果

logistics.send售后退换货,用户回寄商品给商家

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
aftersales_bn string required 申请售后的订单编号
corp_code string required 物流公司代码
logi_name string required_if:corp_code,other 物流公司名称
logi_no string required min:6 max:20 物流单号
receiver_address string required 换货发货地址
mobile string required mobile 手机号

返回结果

未定义返回结果

logistics.get显示物流信息

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
logi_no string required min:6 max:20 物流单号
corp_code string required 物流公司代码

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"tracker":[{"AcceptTime":"2016-08-31 19:11:34","AcceptStation":"南宁市【南宁兴宁分部】,【美邦/0771-6719119】已揽收"},{"AcceptTime":"2016-08-31 19:22:00","AcceptStation":"南宁市【南宁兴宁分部】,正发往【南宁转运中心】"},{"AcceptTime":"2016-08-31 20:22:30","AcceptStation":"到南宁市【南宁转运中心】"},{"AcceptTime":"2016-09-01 03:36:33","AcceptStation":"南宁市【南宁转运中心】,正发往【上海转运中心】"},{"AcceptTime":"2016-09-02 20:10:59","AcceptStation":"到上海市【上海转运中心】"},{"AcceptTime":"2016-09-02 22:06:25","AcceptStation":"上海市【上海转运中心】,正发往【上海徐汇区桂林分部Q】"},{"AcceptTime":"2016-09-03 08:00:05","AcceptStation":"到上海市【上海徐汇区桂林分部Q】"},{"AcceptTime":"2016-09-03 08:21:32","AcceptStation":"上海市【上海徐汇区桂林分部Q】,【桂林站/64757435】正在派件"},{"AcceptTime":"2016-09-05 12:20:03","AcceptStation":"上海市【上海徐汇区桂林分部Q】,字迹潦草已签收"}]}}

theme.modules获取页面模块配置

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
tmpl string required in:index index 返回页面的模块配置

返回结果

未定义返回结果

category.itemCategory获取平台分类树

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

无业务参数

返回结果

返回JSON数据结构

{ errorcode:0,msg:"", data:{categorys:[{cat_id:1,parent_id: 0, cat_name: "服装鞋包", cat_logo: "", cat_path: ",", level: "1", is_leaf: 0, child_count: 6, order_sort: 0, lv2: [ { cat_id: 376, parent_id: 1, cat_name: "男鞋", cat_logo: null, cat_path: ",1,", level: "2", is_leaf: 0, child_count: 2, order_sort: 5, lv3: [ { cat_id: 387, parent_id: 376, cat_name: "休闲鞋", cat_logo: null, cat_path: ",1,376,", level: "3", is_leaf: 1, child_count: 0, order_sort: 0 }] } ] }] } }

user.login用户登录

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
account string required demo 登录账号/手机/邮箱
password string required demo123 登录密码
deviceid string required demo123 用户设备

返回结果

返回字段 类型 说明
userId int 用户ID
accessToken string 注册完成后返回的accessToken

user.logout用户退出登录

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

无业务参数

返回结果

返回字段 类型 说明
true bool

user.signup用户注册

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
account string required demo 注册账号
password string min:6 max:20 confirmed demo123 登录密码
password_confirmation string required demo123 确认密码
deviceid string required Xebsweb 用户设备
signup_token string required 注册token

返回结果

返回字段 类型 说明
userId int 用户ID
accessToken string 注册完成后返回的accessToken
open_sendpoint string 是否开启注册送积分(0未开启,1开启)
sendPointNum string 注册送积分数量

user.license注册协议

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

无业务参数

返回结果

返回字段 类型 说明
license string 注册协议内容

user.protocol使用协议

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

无业务参数

返回结果

返回字段 类型 说明
license string 注册协议内容

user.verifyAccount验证账号,用于注册,找回密码

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
account string required min:4 demo 用户名/手机/邮箱
vcode_type string required in:topapi_register,topapi_forgot signup 图片验证类型,图形验证码vcode_type参数一致
verifycode string required xuab 图片验证码

返回结果

返回字段 类型 说明
account string 注册账号
type sring login_account email mobile
mobile sring 找回密码返回该字段,如果返回的mobile为null,则表示账号未绑定手机,不可找回密码,需要平台客服重置密码
verifyAccount_token sring 验证账号后返回给短信或者设置密码时的令牌

user.sendSms注册账号和忘记密码发送短信

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
mobile string required mobile 13918087654 手机号
type string required in:signup,forgot 发送短信类型 signup注册 forgot找回密码
send_sms_token string required 验证账号后返回的verifyAccount_token

返回结果

未定义返回结果

user.verifySms验证注册短信和忘记密码短信

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
mobile string required mobile 13918087654 手机号
type string required in:signup,forgot 验证发送短信类型signup注册发送短信 forgot忘记密码发送短信
vcode string required 短信验证码

返回结果

返回字段 类型 说明
verifySms_token string 验证短信后返回的token,用于后续操作,注册或者找回密码重置登录密码

user.vcode获取图片验证码

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
vcode_type string required topapi_register 图片验证类型

返回结果

未定义返回结果

user.forgot.resetpassword找回密码重新设置密码

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
mobile string required mobile 13918087654 手机号
forgot_token string required 验证短信后返回的verifySms_token
password string min:6 max:20 confirmed demo123 登录密码
password_confirmation string required demo123 确认密码

返回结果

返回字段 类型 说明
verifySms_token string 验证短信后返回的token,用于后续操作,注册或者找回密码重置登录密码

member.index会员中心首页数据统计

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

无业务参数

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"gradeInfo":{"grade_id":5,"experience":15095,"grade_name":"白金会员","grade_logo":"http://images.bbc.shopex123.com/images/6f/ca/48/3449cbc3e2b21c505aac507e96500749f4431fc7.png"},"wait_pay_num":0,"wait_send_goods_num":7,"wait_confirm_goods_num":0,"canceled_num":18,"notrate_num":2,"deposit":"10191.100","coupon_num":4,"point":15095,"cur_symbol":{"sign":"¥","decimals":"3"}}}

member.basics.update更新会员基础资料

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
username string required_without_all:name,birthday,sex max:20 李四 真实姓名
name string required_without_all:username,birthday,sex min:4 max:20 onexbbc 昵称
birthday string date 2001-08-19 生日
sex string in:0,1,2 1 性别 0女 1男 2保密

返回结果

返回字段 类型 说明
true bool 成功

member.basics.get获取会员基本信息

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

无业务参数

返回结果

返回字段 类型 说明
login_account string 用户名
username string 真实姓名
name string 昵称
birthday string 生日
sex string 性别 0女 1男 2保密
grade_id string 会员等级ID
grade_name string 会员等级名称

member.setAccount设置用户名

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
account string required loginaccount min:4 max:30 demo 登录用户名

返回结果

返回字段 类型 说明
true bool 成功

member.address.list获取收货地址列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

无业务参数

返回结果

返回字段 类型 说明
count.nowcount int 当前已有收货地址数量
count.maxcount int 可拥有收货地址最大数量
list.addr_id string 收货地址addr_id
list.name string 收货人姓名
list.area string 所在地区
list.addr string 街道地址,详细地址
list.zip string 邮政编码
list.mobile string 手机号
list.addrdetail string 完整的详细收货地址
list.region_id string 地区ID
list.def_addr string 是否为默认地址 1为默认

member.address.get获取单个收货地址详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
addr_id string required numeric 收货地址ID

返回结果

返回字段 类型 说明
addr_id int 收货地址addr_id
name string 收货人姓名
area string 所在地区
addr string 街道地址,详细地址
zip string 邮政编码
mobile int 手机号
def_addr string 是否为默认地址 1为默认
region_id string 所在地区ID
addrdetail string 收货地址完整描述

member.address.create新建收货地址

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
area string required 所在地区
addr string required 桂林路396号 街道地址
name string required 李四 收货人姓名
mobile string required mobile 13918765456 手机号
zip string numeric max:999999 邮政编码
def_addr string in:0,1 1 是否设为默认地址

返回结果

返回字段 类型 说明
true bool 成功

member.address.update更新收货地址

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
addr_id string required numeric 收货地址ID
area string required 所在地区
addr string required 桂林路396号 街道地址
name string required 李四 收货人姓名
mobile string required mobile 13918765456 手机号
zip string numeric max:999999 邮政编码
def_addr string in:0,1 1 是否设为默认地址

返回结果

返回字段 类型 说明
true bool 成功

member.address.delete删除收货地址

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
addr_id string required numeric 收货地址ID

返回结果

返回字段 类型 说明
true bool 成功

member.address.setDefault收货地址设为默认

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
addr_id string required numeric 收货地址ID

返回结果

返回字段 类型 说明
true bool 成功

member.deposit.detail会员预存款明细

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
page_no int 分页当前页数,默认为1
page_size int 每页数据条数,默认10条

返回结果

返回字段 类型 说明
deposit float 会员预存款总金额
pagers.total int 明细总数量
list.type string add充值 expense 消费
list.operator string 执行操作用户
list.fee string 消费或充值金额
list.message string 变更记录
list.logtime time 日志记录时间
cur_symbol.sign string 货币符号
cur_symbol.decimals string 计算精度,保留小数点位数

member.deposit.recharge预存款充值

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
pay_app_id string required 支付方式id
money string required 充值金额

返回结果

未定义返回结果

member.coupon.list会员我的优惠券列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
page_no int 分页当前页数,默认为1
page_size int 每页数据条数,默认20条
fields field 需要的字段
orderBy string 排序
shop_id int numeric 店铺ID
is_valid int in:0,1,2 获取是否有效的参数 0已使用 1有效 2已过期
platform string in:pc,wap,app 优惠券使用平台 pc 电脑端 wap 手机端 app端 如果是全部则不需要传入参数

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"coupon_code":"BP62U003DC00003","user_id":4,"shop_id":3,"coupon_id":12,"obtain_desc":"免费领取","obtain_time":1470293483,"tid":null,"is_valid":"1","used_platform":"0","price":"20.000","start_time":1453824000,"end_time":1609257600,"canuse_start_time":1453824000,"canuse_end_time":1609257600,"limit_money":"500.000","deduct_money":"20.000","coupon_name":"智能设备类 满500减20","coupon_desc":"智能设备类 满500减20","shop_name":"onexbbc自营店(自营店铺)自营店"}],"pagers":{"total":4},"cur_symbol":{"sign":"¥","decimals":2}}}

member.point.detail会员积分明细

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
page_no int 分页当前页数,默认为1
page_size int 每页数据条数,默认10条

返回结果

返回字段 类型 说明
user.point_count int 会员总积分值
user.expired_point int 将要过期积分
user.modified_time time 记录时间
user.expired_time time 过期时间
list.modified_time time 记录时间
list.behavior_type string obtain获得积分 consume消费积分
list.behavior string 行为描述
list.point string 变更积分值
list.remark string 备注
list.expiration_time string 积分过期时间
pagers.total string 积分明细总条数

member.aftersales.list会员退换货记录列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
page_no int numeric 分页当前页数,默认为1
page_size int numeric 每页数据条数,默认20条
fields field_list 需要返回的数据

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"shop_id":3,"aftersales_bn":1608241420310304,"aftersales_type":"REFUND_GOODS","created_time":1472019618,"oid":1608041129430004,"tid":1608041129420004,"num":1,"progress":"3","status":"3","sku":{"oid":1608041129430004,"sku_id":22,"bn":"S56A5C166E0B0C","item_id":22,"title":"ONLY冬装新品宽松圆领底摆开叉设计针织连衣裙女","pic_path":"http://images.bbc.shopex123.com/images/29/e5/22/670cf312b0aaace1ebf6305d6f346ee147f29c16.jpg_t.jpg","spec_nature_info":"颜色:白色、尺码:s","price":"299.000","payment":"299.000","aftersales_status":"SELLER_REFUSE_BUYER","complaints_status":"BUYER_CLOSED","points_fee":"0.000","consume_point_fee":0},"shopname":"onexbbc自营店(自营店铺)自营店","aftersales_type_desc":"退货退款","status_desc":"已驳回","is_complaints":false}],"cur_symbol":{"sign":"¥","decimals":2},"pagers":{"total":3}}}

member.aftersales.get会员退换货记录详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
aftersales_bn string required_without:oid numeric 售后编码
oid string required_without:aftersales_bn numeric 子订单ID
fields field_list 需要返回的数据

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"aftersales_bn":1608211943230304,"aftersales_type":"REFUND_GOODS","modified_time":1471851660,"reason":"质量原因","sendback_data":{"corp_code":"SF-顺丰速递","logi_name":null,"logi_no":"135987463","receiver_address":"上海徐汇区桂林路396号2号楼","mobile":"13918765435"},"sendconfirm_data":null,"description":"dsefsf","shop_explanation":"同意","admin_explanation":null,"evidence_pic":null,"created_time":1471779823,"oid":1608041518230004,"tid":1608041518220004,"num":1,"progress":"8","status":"1","refunds":{"status":"3","total_price":"0.010","refund_fee":"0.010"},"sku":{"oid":1608041518230004,"sku_id":383,"bn":"G56A709D9D0E38","item_id":89,"title":"ONex-OMS订单管理系统","pic_path":"http://images.bbc.shopex123.com/images/69/4f/60/29dba7d78a4927fbba019f0bdd54ba363e59a913.png_s.png","spec_nature_info":null,"price":"0.010","payment":"0.010","aftersales_status":"REFUNDING","complaints_status":"NOT_COMPLAINTS","points_fee":"0.000","consume_point_fee":0,"refund_fee":"0.010"},"trade":{"status":"TRADE_FINISHED","shop_id":3,"receiver_name":"shopex","user_id":4,"receiver_state":"天津市","receiver_city":"和平区","receiver_district":null,"receiver_address":"3213","receiver_mobile":"13918087430","receiver_phone":null,"refund_fee":0.01}}}

member.aftersales.applyInfo.get售后申请数据获取

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
oid string numeric 子订单ID

返回结果

未定义返回结果

member.aftersales.apply会员申请退换货

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
tid int required numeric 申请售后的订单编号
oid int required numeric 申请售后的子订单编号
reason string required 售后原因,如果是“其他原因”则描述必填
description string required_if:reason,其他原因 max:300 售后详细描述
aftersales_type string required 售后类型
evidence_pic string 照片凭证,imageId逗号隔开,最多五张照片

返回结果

未定义返回结果

member.favorite.all获取用户的所有收藏

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

无业务参数

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"item":[37],"shop":[3,4]}}

member.favorite.item.list获取我的商品收藏列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
page_no int numeric 分页当前页数,默认为1
page_size int numeric 每页数据条数,默认10条
orderBy string 排序

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"gnotify_id":14,"item_id":137,"user_id":4,"cat_id":33,"goods_name":"sphinx1","goods_price":"100.000","image_default_id":"","email":null,"cellphone":null,"send_time":null,"create_time":1471857131,"disabled":0,"remark":null,"object_type":"goods"}],"pagers":{"total":3}}}

member.favorite.item.remove移除收藏商品

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
item_id int required numeric 收藏商品的商品ID

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":null}

member.favorite.item.add新增收藏商品

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
item_id string required numeric 商品ID

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":true}

member.favorite.shop.list获取我的店铺收藏列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
page_no int numeric 分页当前页数,默认为1
page_size int numeric 每页数据条数,默认20条
orderBy string 排序

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"snotify_id":6,"shop_id":4,"user_id":4,"shop_name":"onex生鲜","shop_logo":"http://images.bbc.shopex123.com/images/bb/2a/51/85840720e0cc9652f2b7f1fa6209859456dbd8c4.png","create_time":1471857280}],"pagers":{"total":3}}}

member.favorite.shop.remove移除收藏店铺

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
shop_id int required numeric 收藏店铺ID

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":true}

member.favorite.shop.add新增收藏店铺

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
shop_id string required numeric 店铺ID

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":true}

member.rate.list会员中心我的评价列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
page_no int numeric 1 分页当前页数,默认为1
page_size int numeric 10 每页数据条数,默认20条

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"rate_id":14,"tid":"1608041129420004","oid":"1608041129430004","user_id":4,"shop_id":3,"item_id":22,"item_title":"ONLY冬装新品宽松圆领底摆开叉设计针织连衣裙女","item_price":"299.000","item_pic":"http://images.bbc.shopex123.com/images/29/e5/22/670cf312b0aaace1ebf6305d6f346ee147f29c16.jpg","spec_nature_info":"颜色:白色、尺码:s","result":"bad","content":"sdfghjkl","rate_pic":null,"is_reply":1,"reply_content":"xxsw222ff4ss","reply_time":1472009726,"anony":0,"role":"buyer","is_lock":0,"is_append":0,"is_appeal":0,"appeal_status":"SUCCESS","appeal_again":0,"appeal_time":1472006385,"trade_end_time":1470289679,"created_time":1472006355,"modified_time":1472009726,"disabled":0,"append":[]}],"pagers":{"total":3}}}

member.rate.add对已完成的订单新增商品评论和店铺评分

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
tid string required 1608151930150004 新增评论的订单ID
rate_data jsonArray required 对子订单评论的参数
anony string required true 是否匿名,true匿名 false不匿名
tally_score int numeric required between:1,5 5 商品与描述相符
attitude_score int numeric required between:1,5 5 服务态度评分
delivery_speed_score int numeric required between:1,5 5 发货速度评分

rate_data参数的详细结构

字段 数据类型 验证条件 详细说明
oid string required 新增评论的子订单号
result string required in:good,neutral,bad 评价结果,good 好评 neutral 中评 bad 差评
content string required_if:result,neutral,bad max:300 评价内容
rate_pic string 晒单图片,多个图片用逗号隔开

返回结果

未定义返回结果

member.ratetrade.get会员评价订单信息

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
tid string numeric 订单ID

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"tid":1608151930150004,"shipping_type":"express","status":"WAIT_SELLER_SEND_GOODS","payment":"2400.000","points_fee":"0.000","cancel_status":"NO_APPLY_CANCEL","post_fee":"12.000","pay_type":"online","payed_fee":"2400.000","receiver_state":"天津市","receiver_city":"和平区","receiver_district":null,"receiver_address":"3213","trade_memo":"","receiver_name":"shopex","receiver_mobile":"13918087430","ziti_addr":null,"ziti_memo":null,"total_fee":"2388.000","discount_fee":"0.000","buyer_rate":0,"adjust_fee":"0.000","created_time":1471260638,"shop_id":3,"need_invoice":0,"invoice_name":"","invoice_type":"normal","invoice_main":"","invoice_vat_main":"","cancel_reason":null,"refund_fee":0,"orders":[{"price":"2388.000","aftersales_status":null,"num":1,"title":"华为 HUAWEI WATCH 动感系列 智能手表(黑色平尾","item_id":91,"pic_path":"http://images.bbc.shopex123.com/images/c9/cf/5f/896eceb25e1b37fca24552caeee0fb4a0df6510b.png","total_fee":"2388.000","adjust_fee":"0.000","spec_nature_info":null,"status":"WAIT_SELLER_SEND_GOODS","end_time":null,"buyer_rate":0,"oid":1608151930160004}],"shipping_type_name":"快递"}}

member.rate.append对商品评论进行追评

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
rate_id int required integer min:1 1 评论ID
content string required min:5 max:300 评价内容
rate_pic string 晒单图片,多个图片用逗号隔开,最多上传5张照片

返回结果

未定义返回结果

member.complaints.create投诉商家

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
oid int required 1507021608160001 子订单ID
complaints_type string required 投诉类型
tel string required mobile 13918765438 联系手机号
content string required min:5 max:300 申请退货被拒绝 投诉内容
image_url string 投诉图片凭证URL,最多5张图片,URL用逗号隔开

返回结果

返回字段 类型 说明
true boolean 投诉成功

member.complaints.close撤销投诉

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
complaints_id int required 15 投诉id
buyer_close_reasons string required min:5 max:200 商家已经处理了 撤销投诉原因

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":true}

member.complaints.list会员中心我的投诉列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
page_no int numeric 1 分页当前页数,默认为1
page_size int numeric 10 每页数据条数,默认10条

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"complaints_id":1,"oid":1608041129430004,"complaints_type":"退货/换货问题","status":"WAIT_SYS_AGREE","created_time":1472019701,"title":"ONLY冬装新品宽松圆领底摆开叉设计针织连衣裙女","pic_path":"http://images.bbc.shopex123.com/images/29/e5/22/670cf312b0aaace1ebf6305d6f346ee147f29c16.jpg","status_desc":"等待处理"}],"pagers":{"total":1}}}

member.complaints.get会员中心我的投诉详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
oid int required_without:complaints_id 1507021608160001 子订单ID
complaints_id int required_without:oid 15 投诉id

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"complaints_id":1,"shop_id":3,"user_id":2,"tid":1601281135410002,"status":"WAIT_SYS_AGREE","tel":"13456789876","complaints_type":"商品问题","content":"订单号为1601281135410002,购买的衣服不到一天就破了,而且买回来就是脏的,商家以特价商品为由拒绝退货","memo":"","buyer_close_reasons":"","created_time":1472216431,"oid":1601281135420002,"status_desc":"等待处理","order":{"item_id":128,"title":"艾格 ETAM 彩色数码印花无袖连衣裙","pic_path":"http://images.bbc.shopex123.com/images/44/4b/d5/332d15a9ddfd0434a19cbddb374101527100b2af.png"},"image_url":[{"url":"http://192.168.65.145/bbc/public/images/c9/af/fd/6b2897a61dcff091e0021508d96b15702d975345.jpg","t_url":"http://192.168.65.145/bbc/public/images/c9/af/fd/6b2897a61dcff091e0021508d96b15702d975345.jpg_t.jpg"},{"url":"http://192.168.65.145/bbc/public/images/7a/c6/72/e4f524b6af954f25429067a1770603eddc2a5cbe.jpg","t_url":"http://192.168.65.145/bbc/public/images/7a/c6/72/e4f524b6af954f25429067a1770603eddc2a5cbe.jpg_t.jpg"},{"url":"http://192.168.65.145/bbc/public/images/e6/25/cf/d4bc8026654beb75c6cc057e7ce7a2e610d40f97.jpg","t_url":"http://192.168.65.145/bbc/public/images/e6/25/cf/d4bc8026654beb75c6cc057e7ce7a2e610d40f97.jpg_t.jpg"}]}}

member.security.checkLoginPassword安全中心验证登录密码

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
password string required 登录用户密码

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":null}

member.security.updateLoginPassword安全中心修改登录密码

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
password string required min:6 max:20 confirmed demo123 新密码
password_confirmation string required demo123 确认新密码

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":null}

member.security.setPayPassword安全中心设置支付密码

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
password string required min:6 max:20 confirmed demo123 新密码
password_confirmation string required demo123 确认新密码

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":null}

member.security.setPayPasswordByMoblie忘记预存款密码的短信验证

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
mobile string required mobile 13918087654 手机号
vcode string 13918087654 手机验证码

返回结果

未定义返回结果

member.security.checkPayPassword安全中心验证支付密码

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
pay_password string required demo123 支付密码

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":null}

member.security.updatePayPassword安全中心修改支付密码

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
password string required min:6 max:20 confirmed demo123 新密码
password_confirmation string required demo123 确认新密码

返回结果

未定义返回结果

member.security.updateMobile安全中心会员手机号绑定/修改,发送短信验证码

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
mobile string required mobile 13918087654 手机号

返回结果

未定义返回结果

member.security.saveMobile安全中心会员手机号保存

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
mobile string required mobile 13918087654 手机号
vcode string required digits:6 13918087654 手机号

返回结果

未定义返回结果

member.security.userConf获取会员安全中心相关所有配置

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

无业务参数

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":null}

trade.list会员订单列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
status string in:WAIT_BUYER_PAY,WAIT_SELLER_SEND_GOODS,WAIT_BUYER_CONFIRM_GOODS,WAIT_RATE 订单状态 WAIT_BUYER_PAY 等待付款 WAIT_SELLER_SEND_GOODS 待发货 WAIT_BUYER_CONFIRM_GOODS 等待确认收货 WAIT_RATE 待评价
page_no int numeric 分页当前页数,默认为1
page_size int numeric 每页数据条数,默认10条
fields string 需返回的字段

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"tid":1609111253210004,"shop_id":3,"user_id":4,"status":"WAIT_BUYER_PAY","cancel_status":"NO_APPLY_CANCEL","payment":"111.000","pay_type":"online","created_time":1473569594,"buyer_rate":0,"order":[{"title":"罗技(Logitech)M275 无线鼠标 黑色","num":1,"pic_path":"http://images.bbc.shopex123.com/images/55/fc/3f/df86d11be400518108e5db03f889246edfc6f67c.jpg_t.jpg","oid":1609111253220004,"aftersales_status":null,"complaints_status":"NOT_COMPLAINTS","item_id":37,"status":"WAIT_BUYER_PAY","gift_data":[{"gift_id":1,"item_id":26,"gift_num":1,"image_default_id":"http://images.bbc.shopex123.com/images/74/32/fc/414d7236e416eb52ebd17b2e30f8d1f0fb85838c.jpg_t.jpg"},{"gift_id":1,"item_id":26,"gift_num":1,"image_default_id":"http://images.bbc.shopex123.com/images/74/32/fc/414d7236e416eb52ebd17b2e30f8d1f0fb85838c.jpg_t.jpg"},{"gift_id":1,"item_id":26,"gift_num":1,"image_default_id":"http://images.bbc.shopex123.com/images/74/32/fc/414d7236e416eb52ebd17b2e30f8d1f0fb85838c.jpg_t.jpg"}],"tid":1609111253210004}],"is_buyer_rate":false,"gift_count":3,"totalItem":4,"status_desc":"待付款","shopname":"onexbbc自营店(自营店铺)自营店"}],"pagers":{"total":47}}}

trade.order.get子订单详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
oid string numeric 子订单ID

返回结果

未定义返回结果

trade.get会员订单详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
tid string numeric 订单ID

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"tid":1608151930150004,"shipping_type":"express","status":"WAIT_SELLER_SEND_GOODS","payment":"2400.000","points_fee":"0.000","cancel_status":"NO_APPLY_CANCEL","post_fee":"12.000","pay_type":"online","payed_fee":"2400.000","receiver_state":"天津市","receiver_city":"和平区","receiver_district":null,"receiver_address":"3213","trade_memo":"","receiver_name":"shopex","receiver_mobile":"13918087430","ziti_addr":null,"ziti_memo":null,"total_fee":"2388.000","discount_fee":"0.000","buyer_rate":0,"adjust_fee":"0.000","created_time":1471260638,"shop_id":3,"need_invoice":0,"invoice_name":"","invoice_type":"normal","invoice_main":"","invoice_vat_main":"","cancel_reason":null,"refund_fee":0,"orders":[{"price":"2388.000","aftersales_status":null,"num":1,"title":"华为 HUAWEI WATCH 动感系列 智能手表(黑色平尾","item_id":91,"pic_path":"http://images.bbc.shopex123.com/images/c9/cf/5f/896eceb25e1b37fca24552caeee0fb4a0df6510b.png","total_fee":"2388.000","adjust_fee":"0.000","spec_nature_info":null,"status":"WAIT_SELLER_SEND_GOODS","end_time":null,"buyer_rate":0,"oid":1608151930160004}],"shipping_type_name":"快递"}}

trade.cancel.list获取会员取消订单列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
page_no int numeric 分页当前页数,默认为1
page_size int numeric 每页数据条数,默认10条
fields string 需返回的字段

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"cancel_id":23,"shop_id":1,"payed_fee":"219.000","refunds_status":"SUCCESS","tid":1609061046430004,"order":[{"tid":1609061046430004,"oid":1609061046440004,"title":"Gap含羊毛清新雪花织纹圆领毛衣|男装721348","pic_path":"http://images.bbc.shopex123.com/images/d0/66/82/ea8582455c733dee57055d741345ac8ad050b73f.png","item_id":38,"sku_id":122,"spec_nature_info":"颜色:白色、尺码:s","num":1,"gift_data":null}]}],"pagers":{"total":8}}}

trade.cancel.get获取会员取消订单详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
cancel_id int required numeric 取消ID

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"cancel_id":50,"user_id":4,"shop_id":3,"tid":1609111253210004,"pay_type":"online","payed_fee":"0.000","reason":"商品价格较贵","shop_reject_reason":null,"cancel_from":"buyer","process":"3","refunds_status":"SUCCESS","created_time":1473578622,"modified_time":1473578622,"log":[{"log_id":197,"rel_id":50,"op_id":4,"op_name":null,"op_role":"buyer","behavior":"cancel","log_text":"您的申请已提交","log_time":1473578622},{"log_id":198,"rel_id":50,"op_id":4,"op_name":null,"op_role":"system","behavior":"cancel","log_text":"您的订单取消成功","log_time":1473578622}],"status_desc":"取消成功","status_detail":"亲爱的客户,此订单已取消成功"}}

trade.cancel.reason.get获取平台配置的取消订单原因

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

无业务参数

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":["重复下单","订单商品选择有误","现在不想购买","无法支付订单","收货信息填写有误","支付方式选择有误","商品缺货","商品价格较贵","发票信息填写有误","价格波动"]}}

trade.cancel.create获取会员取消订单

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
tid string required 订单id
cancel_reason string required max:50 订单取消原因

返回结果

返回字段 类型 说明
tid string 取消的订单ID

trade.confirm会员确认收货交易完成

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
tid string required 订单id

返回结果

未定义返回结果

trade.create创建订单

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
mode string required in:cart,fastbuy cart 购物车类型
md5_cart_info string required 购物车数据校验
addr_id string required 收货地址
payment_type string required 支付方式
source_from string in:pc,wap,app 使用平台 pc电脑端 wap手机端 app手机App端
shipping_type jsonArray required 每个店铺的配送方式 [{"shop_id":"3","type":"express"}]
mark jsonArray 买家留言
invoice_type string required:in,normal,vat,notuse 发票类型 normal普通发票,vat 增值税发票, notuse 不需要发票
invoice_content jsonObject required_if:invoice_type,normal,vat 发票数据内容
use_points int 使用的积分值

shipping_type参数的详细结构

字段 数据类型 验证条件 详细说明
shop_id string required 店铺ID
type string required 配送方式

mark参数的详细结构

字段 数据类型 验证条件 详细说明
shop_id string required 店铺ID
memo string required 对应店铺买家留言

invoice_content参数的详细结构

字段 数据类型 验证条件 详细说明
title string required_if:invoice_type,normal in:individual,unit 发票抬头类型 individual 个人,unit 企业
content string required_if:invoice_type,normal 发票抬头
company_name string required_if:invoice_type,vat 公司名称
company_address string required_if:invoice_type,vat 公司地址
registration_number string required_if:invoice_type,vat 纳税人识别号
bankname string required_if:invoice_type,vat 开户银行
bankaccount string required_if:invoice_type,vat 开户银行帐号
company_phone string required_if:invoice_type,vat 公司电话

返回结果

未定义返回结果

item.search获取商品列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
item_id string 2,3,5,6 商品id,多个id用,隔开
shop_id int integer 店铺id
search_shop_cat_id int 店铺搜索自有一级类目id
cat_id int 1 平台的商品类目id
brand_id int 1 平台的品牌id
search_keywords string iphone 商品相关关键字
is_selfshop bool 1 是否是自营 (1 自营)
page_no int numeric 1 分页当前页码,1<=no<=499
page_size int numeric 10 分页每页条数(1<=size<=200)
orderBy string modified_time desc,list_time desc 排序方式.商品的主要关键字排序
fields field_list title,price 要获取的商品字段集

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"item_id":130,"title":"etam艾格时尚修身连衣裙","image_default_id":"http://images.bbc.shopex123.com/images/5d/7c/23/aa461ffb145e94922c1036e5aa8edbbb138f1bf6.png","price":"149.000","sold_quantity":0,"promotion":[]},{"item_id":128,"title":"艾格 ETAM 彩色数码印花无袖连衣裙","image_default_id":"http://images.bbc.shopex123.com/images/44/4b/d5/332d15a9ddfd0434a19cbddb374101527100b2af.png","price":"224.000","sold_quantity":9,"promotion":[]},{"item_id":122,"title":"夏季新品欧美风圆领无袖女式网眼镂空雪纺连衣裙","image_default_id":"http://images.bbc.shopex123.com/images/48/a6/10/eafdb9c20e9607486befbfac23fcffa16a8a5c35.png","price":"499.000","sold_quantity":1,"promotion":[]},{"item_id":123,"title":"拼接微透长袖连衣裙","image_default_id":"http://images.bbc.shopex123.com/images/6d/6e/23/5d1dede8b5575c7f41ee6b865278b437ad9f3173.png","price":"654.000","sold_quantity":3,"promotion":[]},{"item_id":26,"title":"ONLY春季新品条纹彼得潘领包臀五分袖连衣裙女","image_default_id":"http://images.bbc.shopex123.com/images/74/32/fc/414d7236e416eb52ebd17b2e30f8d1f0fb85838c.jpg","price":"249.000","sold_quantity":1,"promotion":[]},{"item_id":23,"title":"ONLY春季新品修身包臀可拆卸衣摆连衣裙女","image_default_id":"http://images.bbc.shopex123.com/images/e3/db/b2/84e4fceb2da83b49091965d7bdcc7f6265fb2dc6.jpg","price":"599.000","sold_quantity":7,"promotion":[]},{"item_id":24,"title":"ONLY秋装新品厚实针织显瘦七分袖修身连衣裙女","image_default_id":"http://images.bbc.shopex123.com/images/a3/18/9d/d1897d3766862b7d5515b0c2aa4eea06042d98fb.jpg","price":"299.000","sold_quantity":4,"promotion":[]},{"item_id":25,"title":"ONLY秋装新品纯棉宽松钉珠装饰针织连衣裙女","image_default_id":"http://images.bbc.shopex123.com/images/eb/c4/5b/e2362bad2de598a00cee337d8ed19008c94d189f.jpg","price":"249.000","sold_quantity":0,"promotion":[]},{"item_id":22,"title":"ONLY冬装新品宽松圆领底摆开叉设计针织连衣裙女","image_default_id":"http://images.bbc.shopex123.com/images/29/e5/22/670cf312b0aaace1ebf6305d6f346ee147f29c16.jpg","price":"299.000","sold_quantity":1,"promotion":[]},{"item_id":80,"title":"FOREVER21 小高领修身长袖针织连衣裙","image_default_id":"http://images.bbc.shopex123.com/images/56/30/61/070068e4659bb8c958b960fa6bd487bfd42903a3.png","price":"149.000","sold_quantity":1,"promotion":[{"promotion_id":4,"tag":"免邮"}]}],"pagers":{"total":12},"cur_symbol":{"sign":"¥","decimals":2}}}

item.detail获取商品详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
item_id int required integer min:1 1 商品id。必须是正整数
fields field_list title,item_store.store 要获取的商品字段集。多个字段用“,”分隔

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"freeConf":"0","item":{"item_id":130,"shop_id":3,"cat_id":33,"brand_id":73,"shop_cat_id":",22,","title":"etam艾格时尚修身连衣裙","sub_title":"","bn":"G56A89E984F796","price":"149.000","cost_price":"0.000","mkt_price":"0.000","show_mkt_price":0,"weight":"1.000","unit":"件","image_default_id":"http://images.bbc.shopex123.com/images/5d/7c/23/aa461ffb145e94922c1036e5aa8edbbb138f1bf6.png","order_sort":1,"modified_time":1472202077,"has_discount":0,"is_virtual":0,"is_timing":0,"violation":0,"is_selfshop":1,"nospec":0,"props_name":null,"params":false,"sub_stock":"0","outer_id":null,"is_offline":0,"barcode":"","disabled":0,"use_platform":"0","dlytmpl_id":8,"approve_status":"onsale","reason":null,"list_time":1472202080,"delist_time":null,"sold_quantity":0,"rate_count":0,"rate_good_count":0,"rate_neutral_count":0,"rate_bad_count":0,"view_count":0,"buy_count":0,"images":["http://images.bbc.shopex123.com/images/5d/7c/23/aa461ffb145e94922c1036e5aa8edbbb138f1bf6.png","http://images.bbc.shopex123.com/images/0e/a9/d6/25d3985eeb7d566fafdd5a174c6ef31e42007b9a.png"],"brand_name":"艾格","brand_alias":"","brand_logo":"http://images.bbc.shopex123.com/images/54/85/e3/82b512cdf75ee4c6716921159960bd72b5c82793.jpg","store":6000,"freez":0,"realStore":6000,"natureProps":[{"prop_id":3,"prop_name":"面料","prop_value_id":25,"prop_value":"棉"},{"prop_id":6,"prop_name":"领型","prop_value_id":38,"prop_value":"圆领"}],"valid":true,"spec":{"specSku":{"1_19":{"sku_id":439,"item_id":130,"price":"149.000","store":1000,"valid":true},"1_20":{"sku_id":440,"item_id":130,"price":"149.000","store":1000,"valid":true},"1_21":{"sku_id":441,"item_id":130,"price":"149.000","store":1000,"valid":true},"1_22":{"sku_id":442,"item_id":130,"price":"149.000","store":1000,"valid":true},"1_23":{"sku_id":443,"item_id":130,"price":"149.000","store":1000,"valid":true},"1_24":{"sku_id":444,"item_id":130,"price":"149.000","store":1000,"valid":true}},"specs":[{"spec_id":1,"spec_name":"颜色","spec_values":[{"spec_value_id":"1","spec_value":"白色","spec_image":"http://localhost/bbc/public/images/86/40/90/c3da8760fb3d1206b941df295ca329fa3aa48e1f.jpg"}]},{"spec_id":2,"spec_name":"尺码","spec_values":[{"spec_value_id":"19","spec_value":"s"},{"spec_value_id":"20","spec_value":"m"},{"spec_value_id":"21","spec_value":"l"},{"spec_value_id":"22","spec_value":"xl"},{"spec_value_id":"23","spec_value":"xxl"},{"spec_value_id":"24","spec_value":"xxxl"}]}]}},"shop":{"shop_id":3,"shop_name":"onexbbc自营店(自营店铺)","shop_descript":"onexbbc自营体验店","shop_logo":"http://images.bbc.shopex123.com/images/e4/64/42/37eff0aeba30e897184f510c248deebd79cff488.png","shop_type":"self","shopname":"onexbbc自营店(自营店铺)自营店","shoptype":"运营商自营"},"collect":{"itemCollect":0,"shopCollect":0},"cur_symbol":{"sign":"¥","decimals":2}}}

item.desc获取移动端商品描述

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
item_id int required numeric min:1 1 商品id。必须是正整数

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"item_id":130,"wap_desc":"\u003Cp style=\u0022line-height: 20px;\u0022\u003E\u003C\/p\u003E\u003Cp style=\u0022line-height: 20px;\u0022\u003E\u003Cbr\u003E\u003Cimg src=\u0022http:\/\/images.bbc.shopex123.com\/images\/5d\/7c\/23\/aa461ffb145e94922c1036e5aa8edbbb138f1bf6.png\u0022 style=\u0022width: 864px;\u0022\u003E\u003C\/p\u003E\u003Cimg src=\u0022http:\/\/images.bbc.shopex123.com\/images\/0e\/a9\/d6\/25d3985eeb7d566fafdd5a174c6ef31e42007b9a.png\u0022 style=\u0022line-height: 20px; width: 864px;\u0022\u003E\u003Cbr\u003E"}}

item.packageInfo商品详情页组合促销详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
package_id int required integer min:1 1 组合促销ID。必须是正整数

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"package_id":"1","shop_id":1,"package_name":"第二件5折","package_desc":"","valid_grade":"1","package_total_price":"549.000","free_postage":0,"promotion_tag":"组合促销","reason":null,"valid":true,"item":[{"item_id":51,"image_default_id":"http://images.bbc.shopex123.com/images/5a/fb/70/095878c612c50e30fc2d92b9ac457521e759f388.png","price":"299.000","title":"Gap全棉原色靛蓝修身水洗牛仔裤|男装534318","store":99,"freez":0,"realStore":99,"shop_id":1,"approve_status":"onsale","reason":null,"list_time":1454245407,"delist_time":1453874646,"sku":{"specSku":[{"sku_id":191,"item_id":51,"price":"299.000","mkt_price":"0.000","store":20,"valid":true,"spec":"16_19"},{"sku_id":192,"item_id":51,"price":"299.000","mkt_price":"0.000","store":19,"valid":true,"spec":"16_20"},{"sku_id":193,"item_id":51,"price":"299.000","mkt_price":"0.000","store":20,"valid":true,"spec":"16_21"},{"sku_id":194,"item_id":51,"price":"299.000","mkt_price":"0.000","store":20,"valid":true,"spec":"16_22"},{"sku_id":195,"item_id":51,"price":"299.000","mkt_price":"0.000","store":10,"valid":true,"spec":"16_23"},{"sku_id":196,"item_id":51,"price":"299.000","mkt_price":"0.000","store":10,"valid":true,"spec":"16_24"}],"spec_desc":[{"spec_id":1,"spec_name":"颜色","spec_val":[{"private_spec_value_id":"","spec_value":"深蓝色","spec_value_id":"16","spec_image":"http://images.bbc.shopex123.com/images/5a/fb/70/095878c612c50e30fc2d92b9ac457521e759f388.png","spec_image_url":"http://images.bbc.shopex123.com/images/5a/fb/70/095878c612c50e30fc2d92b9ac457521e759f388.png"}]},{"spec_id":2,"spec_name":"尺码","spec_val":[{"private_spec_value_id":"","spec_value":"xxxl","spec_value_id":"24"},{"private_spec_value_id":"","spec_value":"xxl","spec_value_id":"23"},{"private_spec_value_id":"","spec_value":"xl","spec_value_id":"22"},{"private_spec_value_id":"","spec_value":"s","spec_value_id":"19"},{"private_spec_value_id":"","spec_value":"m","spec_value_id":"20"},{"private_spec_value_id":"","spec_value":"l","spec_value_id":"21"}]}]},"valid":true,"package_price":"150.000"},{"item_id":64,"image_default_id":"http://images.bbc.shopex123.com/images/18/0a/d3/6df7c7cb12554dc912c2c842fbe3c645783b8da0.png","price":"399.000","title":"Gap纯棉经典百搭直筒卡其裤|男装225117","store":360,"freez":0,"realStore":360,"shop_id":1,"approve_status":"onsale","reason":null,"list_time":1454245406,"delist_time":1453874646,"sku":{"specSku":[{"sku_id":303,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"4_19"},{"sku_id":304,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"4_20"},{"sku_id":305,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"4_21"},{"sku_id":306,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"4_22"},{"sku_id":307,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"4_23"},{"sku_id":308,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"4_24"},{"sku_id":309,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"11_19"},{"sku_id":310,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"11_20"},{"sku_id":311,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"11_21"},{"sku_id":312,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"11_22"},{"sku_id":313,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"11_23"},{"sku_id":314,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"11_24"},{"sku_id":315,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"16_19"},{"sku_id":316,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"16_20"},{"sku_id":317,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"16_21"},{"sku_id":318,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"16_22"},{"sku_id":319,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"16_23"},{"sku_id":320,"item_id":64,"price":"399.000","mkt_price":"0.000","store":20,"valid":true,"spec":"16_24"}],"spec_desc":[{"spec_id":1,"spec_name":"颜色","spec_val":[{"private_spec_value_id":"","spec_value":"黑色","spec_value_id":"4","spec_image":"http://images.bbc.shopex123.com/images/55/74/9e/581809ab39c58f8bb8954046eba847402641502f.jpg","spec_image_url":"http://images.bbc.shopex123.com/images/55/74/9e/581809ab39c58f8bb8954046eba847402641502f.jpg"},{"private_spec_value_id":"","spec_value":"深蓝色","spec_value_id":"16","spec_image":"http://images.bbc.shopex123.com/images/ca/0d/3c/b0cb6cd4eb77e5bb310d71c2a670cd960e5fa966.png","spec_image_url":"http://images.bbc.shopex123.com/images/ca/0d/3c/b0cb6cd4eb77e5bb310d71c2a670cd960e5fa966.png"},{"private_spec_value_id":"","spec_value":"卡其色","spec_value_id":"11","spec_image":"http://images.bbc.shopex123.com/images/c3/a4/a6/da59ec96048b815657eb3c4b8e6def270b24473f.png","spec_image_url":"http://images.bbc.shopex123.com/images/c3/a4/a6/da59ec96048b815657eb3c4b8e6def270b24473f.png"}]},{"spec_id":2,"spec_name":"尺码","spec_val":[{"private_spec_value_id":"","spec_value":"xxxl","spec_value_id":"24"},{"private_spec_value_id":"","spec_value":"xxl","spec_value_id":"23"},{"private_spec_value_id":"","spec_value":"xl","spec_value_id":"22"},{"private_spec_value_id":"","spec_value":"s","spec_value_id":"19"},{"private_spec_value_id":"","spec_value":"m","spec_value_id":"20"},{"private_spec_value_id":"","spec_value":"l","spec_value_id":"21"}]}]},"valid":true,"package_price":"399.000"}],"total_package_price":"549.00","total_old_price":"698.00"}}

item.rate.list获取商品评价列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
item_id int required numeric min:1 1 商品id。必须是正整数
rate_type int required numeric in:0,1,2,3,4 1 评价类型、晒图。类型值为0:全部,1:好评,2:中评,3:差评,4:晒图
page_no int 分页当前页数,默认为1
page_size int 每页数据条数,默认10条

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"rate_id":35,"result":"bad","content":"艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花无袖连衣裙艾格 ETAM 彩色数码印花","rate_pic":["http://192.168.65.145/bbc/public/images/cf/81/cf/d68f5b91d63110be8b8c92618e59640daa33c494.jpg_t.jpg","http://192.168.65.145/bbc/public/images/52/f4/3d/39438d9daafb37d170f0daf43f0ced0b0458a02a.jpg_t.jpg","http://192.168.65.145/bbc/public/images/d6/8f/c7/305c2fa208782f8ba7ac0cfe2cb753372b62dc38.jpg_t.jpg","http://192.168.65.145/bbc/public/images/a5/09/be/b30a7472bc635aa286c1d69c3a44cebfb546caef.png_t.png","http://192.168.65.145/bbc/public/images/41/86/a0/bbca21200654c1817f9890dd3fc7ead666373f6d.gif_t.gif"],"is_reply":1,"reply_content":"阿斯利康决定啦带上垃圾袋了解阿隆索大量时间大家说了德拉吉拉时代啊圣诞节啊的","reply_time":1472109360,"anony":1,"is_append":1,"created_time":1472108456,"append":{"rate_id":35,"append_content":"阿斯顿理解啊圣诞节阿里弹尽粮绝啊我的理解达瓦酒店啊等啦世界的理解啊善良的啊理解的沙拉酱大的撒","append_rate_pic":["http://192.168.65.145/bbc/public/images/e0/5d/22/d97bb10737a54c25d0d28649f90bdb0e52e5cab6.jpg_t.jpg","http://192.168.65.145/bbc/public/images/b4/70/a9/2e660459e9935feaac0f80a05c06239c7a75080a.jpg_t.jpg"],"is_reply":1,"append_reply_content":"阿婆是打算看杜拉斯的杜拉斯的了阿斯顿啊等","reply_time":1472109368},"user_name":"buyer01"},{"rate_id":12,"result":"good","content":"系统默认好评","rate_pic":null,"is_reply":0,"reply_content":null,"reply_time":null,"anony":1,"is_append":0,"created_time":1471499043,"append":null,"user_name":"demo"},{"rate_id":13,"result":"good","content":"系统默认好评","rate_pic":null,"is_reply":0,"reply_content":null,"reply_time":null,"anony":1,"is_append":0,"created_time":1471499043,"append":null,"user_name":"demo"}],"pagers":{"total":3}}}

cart.get获取购物车信息

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
mode string in:cart,fastbuy fastbuy 购物车类型(立即购买,购物车),默认是cart
platform string in:wap,pc true 平台,默认是wap

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"cartlist":[{"shop_id":3,"shop_name":"onexbbc自营店(自营店铺)自营店","shop_type":"self","cartCount":{"total_weight":3,"itemnum":3,"total_fee":799,"total_discount":100,"total_coupon_discount":null},"cartitems":[{"discount_price":"100.00","promotion":{"promotion_id":13,"rel_promotion_id":3,"promotion_type":"fulldiscount","promotion_name":"测试满折1","promotion_tag":"满折"},"cartitemlist":[{"cart_id":1,"obj_type":"item","item_id":128,"sku_id":432,"user_id":4,"selected_promotion":"13","cat_id":33,"sub_stock":"0","spec_info":"颜色:浅蓝色、尺码:s","bn":"S56A89E007A740","dlytmpl_id":8,"store":989,"status":"onsale","price":{"discount_price":"100.00","price":"100.000","total_price":"200.00"},"quantity":2,"title":"艾格 ETAM 彩色数码印花无袖连衣裙","image_default_id":"http://images.bbc.shopex123.com/images/44/4b/d5/332d15a9ddfd0434a19cbddb374101527100b2af.png","weight":"2.00","activityDetail":{"id":23,"activity_id":5,"shop_id":3,"item_id":128,"cat_id":33,"title":"艾格 ETAM 彩色数码印花无袖连衣裙","item_default_image":"http://images.bbc.shopex123.com/images/44/4b/d5/332d15a9ddfd0434a19cbddb374101527100b2af.png","price":"224.000","activity_price":"100.000","sales_count":5,"verify_status":"agree","start_time":1472471580,"end_time":1475164800,"activity_tag":"团购","status":1,"activity_info":{"activity_id":5,"activity_name":"测试团购","activity_tag":"团购","activity_desc":"啊蛇岛蝮蛇的","apply_begin_time":1472471220,"apply_end_time":1472471400,"release_time":1472471520,"start_time":1472471580,"end_time":1475164800,"buy_limit":5,"enroll_limit":10,"limit_cat":{"1":"服装鞋包","6":"家用电器","12":"手机数码","14":"电脑、办公","46":"母婴、玩具","66":"个护化妆","254":"食品、生鲜","299":"运动户外","330":"家居用品","363":"营养保健","388":"Shopex"},"shoptype":{"flag":"品牌旗舰店","brand":"品牌专卖店","cat":"类目专营店","self":"运营商自营","store":"多品类通用型"},"discount_min":40,"discount_max":60,"mainpush":0,"slide_images":"/images/d7/06/03/bf360abe2ab285e7b13618c3c1261704517732b4.jpg","enabled":0,"created_time":1472471206,"remind_enabled":0,"remind_way":"email","remind_time":null}},"promotion_type":"fulldiscount","valid":true,"is_checked":1,"promotion_id":13,"promotiontags":[{"promotion_id":12,"promotion_name":"测试满减1"},{"promotion_id":13,"promotion_name":"测试满折1"},{"promotion_id":14,"promotion_name":"测试xy"},{"promotion_id":15,"promotion_name":"测试满减2"}],"gifts":[{"title":"迪士尼童装 儿童长袖T恤 女童时尚百搭T恤 西瓜红","image_default_id":"http://images.bbc.shopex123.com/images/b5/3f/56/5dd258c53a47a3d9b05ea6e7f06649a02b949b30.png_t.png","spec_info":"尺码:105","gift_num":2}]}]},{"discount_price":null,"promotion":{"promotion_id":null,"rel_promotion_id":null,"promotion_type":null,"promotion_name":null,"promotion_tag":null},"cartitemlist":[{"cart_id":7,"obj_type":"item","item_id":23,"sku_id":28,"user_id":4,"selected_promotion":"0","cat_id":33,"sub_stock":"0","spec_info":"颜色:黑色、尺码:s","bn":"S56A5C2E03D298","dlytmpl_id":8,"store":1000,"status":"onsale","price":{"discount_price":0,"price":"599.000","total_price":"599.00"},"quantity":1,"title":"ONLY春季新品修身包臀可拆卸衣摆连衣裙女","image_default_id":"http://images.bbc.shopex123.com/images/e3/db/b2/84e4fceb2da83b49091965d7bdcc7f6265fb2dc6.jpg","weight":"1.00","valid":true,"is_checked":1,"promotions":false,"gift":[]}]}]},{"shop_id":2,"shop_name":"Lenovo品牌专卖店专卖店","shop_type":"brand","cartCount":{"total_weight":0,"itemnum":0,"total_fee":0,"total_discount":0,"total_coupon_discount":null},"cartitems":[{"discount_price":"100.00","promotion":{"promotion_id":13,"rel_promotion_id":3,"promotion_type":"fulldiscount","promotion_name":"测试满折1","promotion_tag":"满折"},"cartitemlist":[{"cart_id":1,"obj_type":"item","item_id":128,"sku_id":432,"user_id":4,"selected_promotion":"13","cat_id":33,"sub_stock":"0","spec_info":"颜色:浅蓝色、尺码:s","bn":"S56A89E007A740","dlytmpl_id":8,"store":989,"status":"onsale","price":{"discount_price":"100.00","price":"100.000","total_price":"200.00"},"quantity":2,"title":"艾格 ETAM 彩色数码印花无袖连衣裙","image_default_id":"http://images.bbc.shopex123.com/images/44/4b/d5/332d15a9ddfd0434a19cbddb374101527100b2af.png","weight":"2.00","activityDetail":{"id":23,"activity_id":5,"shop_id":3,"item_id":128,"cat_id":33,"title":"艾格 ETAM 彩色数码印花无袖连衣裙","item_default_image":"http://images.bbc.shopex123.com/images/44/4b/d5/332d15a9ddfd0434a19cbddb374101527100b2af.png","price":"224.000","activity_price":"100.000","sales_count":5,"verify_status":"agree","start_time":1472471580,"end_time":1475164800,"activity_tag":"团购","status":1,"activity_info":{"activity_id":5,"activity_name":"测试团购","activity_tag":"团购","activity_desc":"啊蛇岛蝮蛇的","apply_begin_time":1472471220,"apply_end_time":1472471400,"release_time":1472471520,"start_time":1472471580,"end_time":1475164800,"buy_limit":5,"enroll_limit":10,"limit_cat":{"1":"服装鞋包","6":"家用电器","12":"手机数码","14":"电脑、办公","46":"母婴、玩具","66":"个护化妆","254":"食品、生鲜","299":"运动户外","330":"家居用品","363":"营养保健","388":"Shopex"},"shoptype":{"flag":"品牌旗舰店","brand":"品牌专卖店","cat":"类目专营店","self":"运营商自营","store":"多品类通用型"},"discount_min":40,"discount_max":60,"mainpush":0,"slide_images":"/images/d7/06/03/bf360abe2ab285e7b13618c3c1261704517732b4.jpg","enabled":0,"created_time":1472471206,"remind_enabled":0,"remind_way":"email","remind_time":null}},"promotion_type":"fulldiscount","valid":true,"is_checked":1,"promotion_id":13,"promotiontags":[{"promotion_id":12,"promotion_name":"测试满减1"},{"promotion_id":13,"promotion_name":"测试满折1"},{"promotion_id":14,"promotion_name":"测试xy"},{"promotion_id":15,"promotion_name":"测试满减2"}],"gifts":[{"title":"迪士尼童装 儿童长袖T恤 女童时尚百搭T恤 西瓜红","image_default_id":"http://images.bbc.shopex123.com/images/b5/3f/56/5dd258c53a47a3d9b05ea6e7f06649a02b949b30.png_t.png","spec_info":"尺码:105","gift_num":2}]}]},{"discount_price":null,"promotion":{"promotion_id":null,"rel_promotion_id":null,"promotion_type":null,"promotion_name":null,"promotion_tag":null},"cartitemlist":[{"cart_id":7,"obj_type":"item","item_id":23,"sku_id":28,"user_id":4,"selected_promotion":"0","cat_id":33,"sub_stock":"0","spec_info":"颜色:黑色、尺码:s","bn":"S56A5C2E03D298","dlytmpl_id":8,"store":1000,"status":"onsale","price":{"discount_price":0,"price":"599.000","total_price":"599.00"},"quantity":1,"title":"ONLY春季新品修身包臀可拆卸衣摆连衣裙女","image_default_id":"http://images.bbc.shopex123.com/images/e3/db/b2/84e4fceb2da83b49091965d7bdcc7f6265fb2dc6.jpg","weight":"1.00","valid":true,"is_checked":1,"promotions":false,"gift":[]}]},{"discount_price":null,"promotion":{"promotion_id":6,"rel_promotion_id":3,"promotion_type":"fullminus","promotion_name":"满2999立减299","promotion_tag":"满减"},"cartitemlist":[{"cart_id":5,"obj_type":"item","item_id":21,"sku_id":21,"user_id":4,"selected_promotion":"6","cat_id":24,"sub_stock":"0","spec_info":null,"bn":"G56A5B9EF20E02","dlytmpl_id":2,"store":999,"status":"onsale","price":{"discount_price":0,"price":"5399.000","total_price":"5399.00"},"quantity":1,"title":"联想(Lenovo)小新V4000 Bigger版游戏笔记本","image_default_id":"http://images.bbc.shopex123.com/images/31/05/c9/a499c2484196611c228deafbb2464f207d8ee5dd.png","weight":"1.90","valid":true,"is_checked":0,"gift":[],"promotiontags":[{"promotion_id":6,"promotion_name":"满2999立减299"}]}]}]}],"totalCart":{"totalWeight":3,"number":3,"totalPrice":799,"totalAfterDiscount":"699.00","totalDiscount":100}}}

cart.get.basic获取购物车信息(基础内容)

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
mode string in:cart,fastbuy fastbuy 购物车类型(立即购买,购物车),默认是cart
needInvalid boolean true 是否需要显示失效商品,默认显示
platform string in:pc,wap true 平台,默认是pc

返回结果

未定义返回结果

cart.add添加购物车数据

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
quantity int 3 商品数量
sku_id int required_if:obj_type,item 3 货品id
package_sku_ids string required_if:obj_type,package 11,21,45 组合促销sku_id
package_id integer sometimes required integer 3 组合促销id
obj_type string in:item,package item 对象类型 item普通商品,package组合促销
mode string in:cart,fastbuy cart 购物车类型,默认是cart

返回结果

返回JSON数据结构

该商品第一次被添加购物车:{"errorcode":0,"msg":"","data":{"created_time":1472028617,"is_checked":null,"user_id":4,"user_ident":"a87ff679a2f3e71d9181a67b7542122c","shop_id":3,"obj_type":"item","obj_ident":"item_380","item_id":86,"sku_id":"380","title":"ONex在线零售平台(C2B)","image_default_id":"http://images.bbc.shopex123.com/images/39/ba/20/390513dbf8ed26a4baa6ef0a77defe8d7896ef0d.png","quantity":1,"modified_time":1472028617,"cart_id":17}}

cart.del删除购物车条目

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
cart_id string 33,44,12,3 购物车id,多个数据用逗号隔开
mode string 是否是立即购买

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"cart_id":"8"}}

cart.update更新购物车数据

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
obj_type string item 数据类型,默认是item
mode string in:fastbuy,cart cart 是否立即购买,值为fastbuy或者cart
cart_params jsonArray required [{"cart_id":1,"is_checked":1,"selected_promotion":13,"totalQuantity":2},{"cart_id":7,"is_checked":1,"selected_promotion":0,"totalQuantity":1}] 购物车更新参数

cart_params参数的详细结构

字段 数据类型 验证条件 详细说明
cart_id int required min:1 购物车项cart_id
is_checked bool required in:1,0 是否选中,1:选中,0:不选中
selected_promotion bool 购物车项选则的促销id
totalQuantity int required min:1 购物车项商品数量

返回结果

未定义返回结果

cart.count统计购物车商品数量

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

无业务参数

返回结果

未定义返回结果

cart.checkout购物车结算页

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
mode string in:cart,fastbuy cart 购物车类型,默认是cart

返回结果

未定义返回结果

cart.total购物车结算页计算金额

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
addr_id int required 选中地址的id
mode string in:cart,fastbuy cart 购物车类型,默认是cart
shipping jsonArray 每个店铺的配送方式

shipping参数的详细结构

字段 数据类型 验证条件 详细说明
shop_id string 店铺ID
type string 配送方式

返回结果

未定义返回结果

cart.user.point购物车结算页处理会员积分

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
total_price string required fastbuy 购物车金额
post_fee float true 邮费

返回结果

未定义返回结果

promotion.activity.list获取平台活动列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
status string required in:active,comming active active:活动中的,comming:即将开始的活动
page_no int min:1 numeric 1 分页当前页数,默认为1
page_size int 10 每页数据条数,默认10条

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"activity_name":"年欢惠","activity_id":1,"mainpush":0,"slide_images":"http://images.bbc.shopex123.com/images/bd/12/4e/f71b06d423f37dae13d5c3bc6d1ca97bb771f61f.jpg","end_time":1483113600,"start_time":1454083200,"discount_max":90,"discount_min":70},{"activity_name":"路由器专场促销","activity_id":2,"mainpush":0,"slide_images":"http://images.bbc.shopex123.com/images/f8/9c/4a/e1748250afb25c44c436a74453cbd22135bc357b.png","end_time":1609344000,"start_time":1453802340,"discount_max":99,"discount_min":1},{"activity_name":"童装专场","activity_id":3,"mainpush":0,"slide_images":"http://images.bbc.shopex123.com/images/2c/d0/76/d0ddb0699923b3d0761d18fa0d63f80e175d0f4a.jpg","end_time":1609344000,"start_time":1453803060,"discount_max":90,"discount_min":10}],"pagers":{"total":3}}}

promotion.activity.detail获取平台活动详情及其商品列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
activity_id int required min:1 active 活动id
page_no int min:1 numeric 1 分页当前页数,默认为1
page_size int 10 每页数据条数,默认10条
orderBy string 商品列表排序,默认 sales_count desc
info_fields field_list * 活动详情需要返回的字段
item_fields field_list * 活动商品列表需要返回的字段

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"info":{"activity_id":1,"activity_name":"年欢惠","slide_images":"http://images.bbc.shopex123.com/images/bd/12/4e/f71b06d423f37dae13d5c3bc6d1ca97bb771f61f.jpg","activity_tag":"团购","start_time":1454083200,"end_time":1483113600,"release_time":1453996800,"discount_max":90,"discount_min":70,"remind_enabled":1},"list":[{"title":"纳兰小猪童装男童卫衣加厚冬款 中大儿童加绒套头卫衣","item_default_image":"http://images.bbc.shopex123.com/images/89/65/45/220308767e11239cdd860754a6621536780f46d3.png","price":"59.000","item_id":68,"activity_id":3,"sales_count":2,"activity_price":"19.000"},{"title":"纳兰小猪童装男童衬衫加绒加厚中大儿童长袖秋装2015新款衬衣","item_default_image":"http://images.bbc.shopex123.com/images/fc/04/43/c7d244e2c104d6d2f40b9064aab188411099134d.png","price":"50.000","item_id":67,"activity_id":3,"sales_count":2,"activity_price":"39.990"}],"pagers":{"total":22}}}

promotion.activity.itemdetail获取平台活动商品详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
item_id int required min:1 numeric 55 商品id
activity_id int required min:1 numeric 1 活动id

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"group_item":{"id":14,"activity_id":1,"shop_id":1,"item_id":71,"cat_id":28,"title":"Gap纯棉毛圈经典徽标连帽卫衣|男装179949","item_default_image":"http://images.bbc.shopex123.com/images/08/0f/c1/02a2ed7b47d1696b0927371f319db9e668ebb041.png","price":"399.000","activity_price":"288.000","sales_count":0,"verify_status":"agree","start_time":1454083200,"end_time":1483113600,"activity_tag":"团购","status":1},"activity":{"activity_id":1,"activity_name":"年欢惠","activity_tag":"团购","activity_desc":"所有商品全部8折优惠","apply_begin_time":1453784400,"apply_end_time":1453910400,"release_time":1453996800,"start_time":1454083200,"end_time":1483113600,"buy_limit":3,"enroll_limit":100,"limit_cat":{"1":"服装鞋包","6":"家用电器","12":"手机数码","14":"电脑、办公","46":"母婴、玩具","66":"个护化妆","254":"食品、生鲜","299":"运动户外","330":"家居用品","363":"营养保健"},"shoptype":{"flag":"品牌旗舰店","brand":"品牌专卖店","cat":"类目专营店","self":"运营商自营"},"discount_min":70,"discount_max":90,"mainpush":0,"slide_images":"http://images.bbc.shopex123.com/images/bd/12/4e/f71b06d423f37dae13d5c3bc6d1ca97bb771f61f.jpg","enabled":0,"created_time":1453779753,"remind_enabled":1,"remind_way":"email","remind_time":10},"item":{"item_id":71,"pc_desc":"","sold_quantity":0},"shop":{"shop_name":"GAP官方","shop_id":1,"shop_type":"flag","shopname":"GAP官方旗舰店","shoptype":"品牌旗舰店","subdomain":"shop1"},"shopDsrData":{"countDsr":{"tally_dsr":"5.0","attitude_dsr":"5.0","delivery_speed_dsr":"5.0"},"catDsrDiff":null},"now_time":1475066245}}

promotion.activity.remindinfo活动订阅信息

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
activity_id int required min:1 1 活动id

返回结果

未定义返回结果

promotion.activity.remindsubmit订阅活动提醒

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
activity_id int required min:1 1 活动id
mobile string required_without:email mobile 手机
email string required_without:mobile email 邮箱

返回结果

未定义返回结果

promotion.shop.cartpromotion.detail获取商家促销详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
promotion_id int required min:1 active 促销id。购物车内唯一选择的促销,包括满减,满折,XY折
page_no int min:1 numeric 1 分页当前页数,默认为1
page_size int 10 每页数据条数,默认10条
orderBy string 商品列表排序,默认 sales_count desc

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"info":{"promotion_id":1,"rel_promotion_id":1,"promotion_type":"fullminus","shop_id":1,"promotion_name":"满299减50","promotion_tag":"满减","promotion_desc":"","used_platform":"0","start_time":1453734000,"end_time":1598371200,"created_time":1453718018,"check_status":"agree","valid":true},"list":[{"item_id":28,"shop_id":1,"title":"Gap纯棉经典徽标字母圆领卫衣|男装109453","image_default_id":"http://images.bbc.shopex123.com/images/67/2c/53/c2dbb5db5c08107f602318c45b784b0c1ec509b8.png","price":"199.000"},{"item_id":30,"shop_id":1,"title":"Gap纯棉徽标字母印花连帽卫衣|男装721398 ","image_default_id":"http://images.bbc.shopex123.com/images/22/36/32/d12162a86dbc1ba7aba9801b00ba43b0d1793aa0.png","price":"399.000"},{"item_id":32,"shop_id":1,"title":"Gap棉质时尚拼色绒里连帽卫衣|男装124968","image_default_id":"http://images.bbc.shopex123.com/images/6b/89/1f/e1b9404a412e5a38e2728686979800b8de3ce9e6.png","price":"349.000"},{"item_id":71,"shop_id":1,"title":"Gap纯棉毛圈经典徽标连帽卫衣|男装179949","image_default_id":"http://images.bbc.shopex123.com/images/08/0f/c1/02a2ed7b47d1696b0927371f319db9e668ebb041.png","price":"399.000"}],"pagers":{"total":4}}}

promotion.shop.coupon.detail获取商家优惠券商品列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
coupon_id int required min:1 active 优惠券id。
page_no int min:1 numeric 1 分页当前页数,默认为1
page_size int 10 每页数据条数,默认10条
orderBy string 商品列表排序,默认 sales_count desc

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"info":{"coupon_id":8,"shop_id":2,"coupon_name":"599元优惠券","coupon_desc":"满4000可用","used_platform":"0","valid_grade":"1,2,3,4,5","limit_money":"4000.000","deduct_money":"599.000","max_gen_quantity":5,"send_couponcode_quantity":1,"use_couponcode_quantity":0,"userlimit_quantity":3,"use_bound":"1","coupon_prefix":"B5SOD","coupon_key":"MDp7czo5Oi","cansend_start_time":1453789380,"cansend_end_time":1580295600,"canuse_start_time":1454083200,"canuse_end_time":1606665600,"created_time":1453778694,"promotion_tag":"优惠券","coupon_status":"agree","reason":null},"list":[{"coupon_id":8,"item_id":1,"shop_id":2,"leaf_cat_id":24,"title":"联想(Lenovo)G40-70M 14.0英寸笔记本电脑","image_default_id":"http://images.bbc.shopex123.com/images/b2/f9/58/be79ce442d995742c6b3ea4869d9e62bce090f73.jpg","price":"4499.000","promotion_tag":"优惠券","canuse_start_time":1454083200,"canuse_end_time":1606665600,"status":0},{"coupon_id":8,"item_id":2,"shop_id":2,"leaf_cat_id":24,"title":"联想(Lenovo)天逸100 15.6英寸笔记本电脑","image_default_id":"http://images.bbc.shopex123.com/images/c1/a1/db/beaa4c65e7650f7e45ceb92efda48e6f96e91178.jpg","price":"3399.000","promotion_tag":"优惠券","canuse_start_time":1454083200,"canuse_end_time":1606665600,"status":0},{"coupon_id":8,"item_id":3,"shop_id":2,"leaf_cat_id":24,"title":"联想(Lenovo)天逸300 15.6英寸笔记本电脑","image_default_id":"http://images.bbc.shopex123.com/images/9c/2a/1e/990f2a9c8ec786ea7b8d5ab462b4cf39e55ccd43.jpg","price":"4200.000","promotion_tag":"优惠券","canuse_start_time":1454083200,"canuse_end_time":1606665600,"status":0},{"coupon_id":8,"item_id":4,"shop_id":2,"leaf_cat_id":24,"title":"联想(Lenovo)U31-70 13.3英寸超薄笔记本","image_default_id":"http://images.bbc.shopex123.com/images/13/3c/79/f04b87dcf4048dceb3e6a6333dce608d4a2fd375.png","price":"4299.000","promotion_tag":"优惠券","canuse_start_time":1454083200,"canuse_end_time":1606665600,"status":0},{"coupon_id":8,"item_id":5,"shop_id":2,"leaf_cat_id":24,"title":"联想 IdeaCentreC560  23英寸 一体电脑","image_default_id":"http://images.bbc.shopex123.com/images/32/4b/c9/3bbac217e58e646913b0ed68f7d58977df8630ac.jpg","price":"3999.000","promotion_tag":"优惠券","canuse_start_time":1454083200,"canuse_end_time":1606665600,"status":0},{"coupon_id":8,"item_id":6,"shop_id":2,"leaf_cat_id":24,"title":"联想 IdeaCentre C560 23英寸一体电脑","image_default_id":"http://images.bbc.shopex123.com/images/51/6e/b2/a3ddf1de62d9832d1da9cc9fe93cdc30698cbdeb.jpg","price":"3859.000","promotion_tag":"优惠券","canuse_start_time":1454083200,"canuse_end_time":1606665600,"status":0},{"coupon_id":8,"item_id":7,"shop_id":2,"leaf_cat_id":24,"title":"联想(Lenovo)H3050 台式电脑","image_default_id":"http://images.bbc.shopex123.com/images/08/ce/21/47e889d755da845827a8e554d1469c94002c4605.jpg","price":"2599.000","promotion_tag":"优惠券","canuse_start_time":1454083200,"canuse_end_time":1606665600,"status":0},{"coupon_id":8,"item_id":8,"shop_id":2,"leaf_cat_id":24,"title":"联想 IdeaCentre C340 20英寸一体电脑","image_default_id":"http://images.bbc.shopex123.com/images/ff/b9/b3/77ca118612ca2600e08cf9eb9e3518fb52c88adc.jpg","price":"4799.000","promotion_tag":"优惠券","canuse_start_time":1454083200,"canuse_end_time":1606665600,"status":0},{"coupon_id":8,"item_id":9,"shop_id":2,"leaf_cat_id":24,"title":"联想(Lenovo) S1801 黑白激光打印机","image_default_id":"http://images.bbc.shopex123.com/images/99/97/ba/4fe2b8fad79194bea63ee13dfbd7af5730da8cab.jpg","price":"599.000","promotion_tag":"优惠券","canuse_start_time":1454083200,"canuse_end_time":1606665600,"status":0},{"coupon_id":8,"item_id":10,"shop_id":2,"leaf_cat_id":24,"title":"联想(Lenovo)LJ2206W 睿省系列WiFi激光打印","image_default_id":"http://images.bbc.shopex123.com/images/5f/d4/5d/f8be68a4fc6f2c2369e38d93b3dfe64b7a0c44b0.jpg","price":"679.000","promotion_tag":"优惠券","canuse_start_time":1454083200,"canuse_end_time":1606665600,"status":0}],"pagers":{"total":21}}}

promotion.coupon.use用户使用优惠券

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
coupon_code string required 优惠券编码
mode string in:cart,fastbuy cart 购物车类型,默认是cart
platform string required in:pc,wap,app 使用平台 pc电脑端 wap手机端, app端

返回结果

未定义返回结果

promotion.coupon.cancel订单结算取消使用优惠券

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
shop_id string required 取消使用优惠券的店铺ID

返回结果

未定义返回结果

promotion.coupon.code.get用户领取优惠券

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
coupon_id int required 优惠券ID

返回结果

未定义返回结果

promotion.coupon.list.get用户可领取商家优惠券列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
shop_id int required 商家店铺ID
page_no int numeric 分页当前页数,默认为1
page_size int numeric 每页数据条数,默认10条

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"coupon_id":13,"coupon_name":"连衣裙 满100减15","coupon_desc":"连衣裙 满100减15","canuse_start_time":1453824000,"canuse_end_time":1582905600}],"pagers":{"total":4},"shopname":"onexbbc自营店(自营店铺)自营店","cur_symbol":{"sign":"¥","decimals":2}}}

promotion.hongbao.list获取会员的红包列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
status string required in:active,used,expired active active:活动中的,comming:即将开始的活动
page_no int min:1 numeric 1 分页当前页数,默认为1
page_size int 10 每页数据条数,默认10条

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"id":1,"name":"ttttttttttttttt`","hongbao_id":3,"user_id":4,"obtain_time":1479695853,"tid":null,"is_valid":"active","hongbao_obtain_type":"userGet","obtain_desc":"用户主动领取","refund_hongbao_tid":null,"used_platform":"all","hongbao_type":"fixed","money":"2.000","start_time":1478016000,"end_time":1480435200},{"id":2,"name":"ttttttttttttttt`","hongbao_id":3,"user_id":4,"obtain_time":1479695854,"tid":null,"is_valid":"active","hongbao_obtain_type":"userGet","obtain_desc":"用户主动领取","refund_hongbao_tid":null,"used_platform":"all","hongbao_type":"fixed","money":"1.000","start_time":1478016000,"end_time":1480435200},{"id":3,"name":"ttttttttttttttt`","hongbao_id":3,"user_id":4,"obtain_time":1479695855,"tid":null,"is_valid":"active","hongbao_obtain_type":"userGet","obtain_desc":"用户主动领取","refund_hongbao_tid":null,"used_platform":"all","hongbao_type":"fixed","money":"2.000","start_time":1478016000,"end_time":1480435200},{"id":4,"name":"ttttttttttttttt`","hongbao_id":3,"user_id":4,"obtain_time":1479695855,"tid":null,"is_valid":"active","hongbao_obtain_type":"userGet","obtain_desc":"用户主动领取","refund_hongbao_tid":null,"used_platform":"all","hongbao_type":"fixed","money":"1.000","start_time":1478016000,"end_time":1480435200},{"id":5,"name":"ttttttttttttttt`","hongbao_id":3,"user_id":4,"obtain_time":1479695856,"tid":null,"is_valid":"active","hongbao_obtain_type":"userGet","obtain_desc":"用户主动领取","refund_hongbao_tid":null,"used_platform":"all","hongbao_type":"fixed","money":"2.000","start_time":1478016000,"end_time":1480435200},{"id":6,"name":"ttttttttttttttt`","hongbao_id":3,"user_id":4,"obtain_time":1479695856,"tid":null,"is_valid":"active","hongbao_obtain_type":"userGet","obtain_desc":"用户主动领取","refund_hongbao_tid":null,"used_platform":"all","hongbao_type":"fixed","money":"1.000","start_time":1478016000,"end_time":1480435200},{"id":7,"name":"ttttttttttttttt`","hongbao_id":3,"user_id":4,"obtain_time":1479695856,"tid":null,"is_valid":"active","hongbao_obtain_type":"userGet","obtain_desc":"用户主动领取","refund_hongbao_tid":null,"used_platform":"all","hongbao_type":"fixed","money":"2.000","start_time":1478016000,"end_time":1480435200},{"id":8,"name":"ttttttttttttttt`","hongbao_id":3,"user_id":4,"obtain_time":1479695856,"tid":null,"is_valid":"active","hongbao_obtain_type":"userGet","obtain_desc":"用户主动领取","refund_hongbao_tid":null,"used_platform":"all","hongbao_type":"fixed","money":"1.000","start_time":1478016000,"end_time":1480435200},{"id":9,"name":"ttttttttttttttt`","hongbao_id":3,"user_id":4,"obtain_time":1479695856,"tid":null,"is_valid":"active","hongbao_obtain_type":"userGet","obtain_desc":"用户主动领取","refund_hongbao_tid":null,"used_platform":"all","hongbao_type":"fixed","money":"2.000","start_time":1478016000,"end_time":1480435200},{"id":10,"name":"ttttttttttttttt`","hongbao_id":3,"user_id":4,"obtain_time":1479695857,"tid":null,"is_valid":"active","hongbao_obtain_type":"userGet","obtain_desc":"用户主动领取","refund_hongbao_tid":null,"used_platform":"all","hongbao_type":"fixed","money":"1.000","start_time":1478016000,"end_time":1480435200}],"pagers":{"total":14}}}

promotion.page.info获取促销页面信息

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
page_id int required 促销专题ID
fields field_list 需要的字段

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"info":{"page_id":1,"page_name":"测试专题营销专题页","page_tmpl":"custom","page_desc":"这是一个测试专题营销专题页!!!","used_platform":"app","display_time":1479797400,"is_display":1,"created_time":1479797458,"updated_time":1479804621}}}

payment.pay.paycenter获取支付方式列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
payment_id string 支付单号

返回结果

返回字段 类型 说明
list array 支付方式列表
payment array 支付单

payment.pay.getPayment获取支付单

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
payment_id string required 支付单号

返回结果

返回字段 类型 说明
payment array 支付单

payment.pay.create创建支付单

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
tid string required 订单号
merge bool 合并支付

返回结果

返回字段 类型 说明
payment_id string 支付单编号

payment.pay.do去支付

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
payment_id string required 支付单号
pay_app_id string required 支付方式
deposit_password string required_if:pay_app_id,deposit 预存款支付密码
hongbao_ids string required_without:pay_app_id 1,2,3 使用支付的红包ID,用逗号隔开

返回结果

未定义返回结果

payment.recharge.do去支付

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
pay_app_id string required 支付方式
money float required 预存款支付密码

返回结果

未定义返回结果

shop.index获取店铺首页配置信息

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
shop_id int required min:1 1 店铺id

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"logo_image":{"show_shop_logo":"on","shop_logo":"http://images.bbc.shopex123.com/images/50/f8/ef/a0b4cbdcbcb45bcf75ebd8ee7e502de9ec44903e.png"},"shopdata":{"shop_id":3,"shop_name":"onexbbc自营店(自营店铺)","shop_descript":"onexbbc自营体验店","shop_type":"self","status":"active","open_time":1453699800,"qq":"","wangwang":"","shop_logo":"http://images.bbc.shopex123.com/images/e4/64/42/37eff0aeba30e897184f510c248deebd79cff488.png_t.png","shop_area":"上海","shop_addr":"桂林路396号","mobile":"13788822222","shopname":"onexbbc自营店(自营店铺)自营店","shoptype":"运营商自营"},"tally_dsr":"5.0","attitude_dsr":"5.0","delivery_speed_dsr":"5.0","slider":[{"sliderImage":"http://images.bbc.shopex123.com/images/ed/ec/09/0e40b2897438d4cb7ffac23cdad33f45adabfb55.png","link":""}],"itemInfo":[{"widgets_id":43,"shop_id":3,"widgets_type":"waptags","params":{"tagsname":"ONLY","item_id":"22,23,24,25,26","itemlimit":20,"isstart":1,"ordersort":null},"modified_time":1453894095,"order_sort":null},{"widgets_id":42,"shop_id":3,"widgets_type":"waptags","params":{"tagsname":"迪士尼","item_id":"60,61,63,65,66,72,73,83","itemlimit":20,"isstart":1,"ordersort":null},"modified_time":1453894095,"order_sort":null},{"widgets_id":41,"shop_id":3,"widgets_type":"waptags","params":{"tagsname":"ETAM","item_id":"125,126,127,128,129,130","itemlimit":20,"isstart":1,"ordersort":null},"modified_time":1453894095,"order_sort":null},{"widgets_id":40,"shop_id":3,"widgets_type":"waptags","params":{"tagsname":"ASICS","item_id":"131,132,133,134","itemlimit":20,"isstart":1,"ordersort":null},"modified_time":1453894095,"order_sort":null}],"shopId":"3","homeCouponList":[{"deduct_money":"15.000","coupon_name":"连衣裙 满100减15","coupon_id":13,"shop_id":3},{"deduct_money":"20.000","coupon_name":"智能设备类 满500减20","coupon_id":12,"shop_id":3},{"deduct_money":"5.000","coupon_name":"满100减5","coupon_id":11,"shop_id":3},{"deduct_money":"100.000","coupon_name":"满1000减100","coupon_id":10,"shop_id":3}],"shopcat":[{"cat_id":21,"shop_id":3,"parent_id":0,"cat_path":",","level":"1","is_leaf":0,"cat_name":"女装","order_sort":0,"modified_time":1472813932,"disabled":0},{"cat_id":52,"shop_id":3,"parent_id":0,"cat_path":",","level":"1","is_leaf":0,"cat_name":"男装","order_sort":2,"modified_time":1472813932,"disabled":0},{"cat_id":29,"shop_id":3,"parent_id":0,"cat_path":",","level":"1","is_leaf":0,"cat_name":"家电数码","order_sort":4,"modified_time":1472813932,"disabled":0},{"cat_id":35,"shop_id":3,"parent_id":0,"cat_path":",","level":"1","is_leaf":0,"cat_name":"母婴","order_sort":7,"modified_time":1472813932,"disabled":0},{"cat_id":55,"shop_id":3,"parent_id":0,"cat_path":",","level":"1","is_leaf":0,"cat_name":"Shopex","order_sort":13,"modified_time":1472813932,"disabled":0}],"showitems":[{"widgets_id":46,"shop_id":3,"widgets_type":"wapshowitems","params":{"tagsname":"女装","item_id":"81,80,79,22,23,24,25,26,123,122,128,130","itemlimit":"6","isstart":"1","ordersort":"addtime-l","itemlist":{"list":[{"item_id":26,"title":"ONLY春季新品条纹彼得潘领包臀五分袖连衣裙女","image_default_id":"http://images.bbc.shopex123.com/images/74/32/fc/414d7236e416eb52ebd17b2e30f8d1f0fb85838c.jpg_s.jpg","price":"249.000","sold_quantity":1,"promotion":[],"gift":null},{"item_id":128,"title":"艾格 ETAM 彩色数码印花无袖连衣裙","image_default_id":"http://images.bbc.shopex123.com/images/44/4b/d5/332d15a9ddfd0434a19cbddb374101527100b2af.png_s.png","price":"224.000","sold_quantity":2,"promotion":{"12":{"item_id":128,"promotion_id":12},"13":{"item_id":128,"promotion_id":13},"14":{"item_id":128,"promotion_id":14},"15":{"item_id":128,"promotion_id":15}},"gfit":{"gift_id":1,"promotion_tag":"赠品"}},{"item_id":130,"title":"etam艾格时尚修身连衣裙","image_default_id":"http://images.bbc.shopex123.com/images/5d/7c/23/aa461ffb145e94922c1036e5aa8edbbb138f1bf6.png_s.png","price":"149.000","sold_quantity":0,"promotion":[],"gift":null},{"item_id":123,"title":"拼接微透长袖连衣裙","image_default_id":"http://images.bbc.shopex123.com/images/6d/6e/23/5d1dede8b5575c7f41ee6b865278b437ad9f3173.png_s.png","price":"654.000","sold_quantity":0,"promotion":[],"gift":null},{"item_id":122,"title":"夏季新品欧美风圆领无袖女式网眼镂空雪纺连衣裙","image_default_id":"http://images.bbc.shopex123.com/images/48/a6/10/eafdb9c20e9607486befbfac23fcffa16a8a5c35.png_s.png","price":"499.000","sold_quantity":1,"promotion":[],"gfit":{"gift_id":1,"promotion_tag":"赠品"}},{"item_id":24,"title":"ONLY秋装新品厚实针织显瘦七分袖修身连衣裙女","image_default_id":"http://images.bbc.shopex123.com/images/a3/18/9d/d1897d3766862b7d5515b0c2aa4eea06042d98fb.jpg_s.jpg","price":"299.000","sold_quantity":4,"promotion":[],"gfit":{"gift_id":1,"promotion_tag":"赠品"}}]}},"modified_time":1453894266,"order_sort":null},{"widgets_id":45,"shop_id":3,"widgets_type":"wapshowitems","params":{"tagsname":"手机","item_id":"31,33,35,39,53,82,84,90,135,136","itemlimit":"6","isstart":"1","ordersort":"addtime-l","itemlist":{"list":[{"item_id":31,"title":"微软(Microsoft) Lumia 640XL LTE ","image_default_id":"http://images.bbc.shopex123.com/images/7d/24/1e/23f41b46db82094677ea853d091bfbd916f62d1d.jpg_s.jpg","price":"1299.000","sold_quantity":0,"gift":null,"promotion":[]},{"item_id":135,"title":"索尼(SONY) E6883 Xperia Z5尊享版 移动","image_default_id":"http://images.bbc.shopex123.com/images/2e/70/24/85a359d40c6878e553b358337c07392f7ea120f6.png_s.png","price":"5699.000","sold_quantity":1,"gift":null,"promotion":[]},{"item_id":136,"title":"Sony/索尼 E5823 Xperia Z5 Compac","image_default_id":"http://images.bbc.shopex123.com/images/1d/2c/97/c03ed485e7dbbe83622e261d3109b4accfcf28c4.jpg_s.jpg","price":"3488.000","sold_quantity":0,"gift":null,"promotion":[]},{"item_id":90,"title":"华为M2平板电脑8英寸M2-801w/803L LTE通话4","image_default_id":"http://images.bbc.shopex123.com/images/46/86/b6/c5a958bc1b03030eee1bf079d80d05cb7aab0606.png_s.png","price":"2289.000","sold_quantity":0,"gift":null,"promotion":[]},{"item_id":84,"title":"LG G4(H818)闪耀金 国际版 移动联通双4G手机 ","image_default_id":"http://images.bbc.shopex123.com/images/0b/eb/fe/ab193c51f360c72b0bd1f1d6bfb0a2d9e0c733c1.png_s.png","price":"2699.000","sold_quantity":2,"gfit":{"gift_id":1,"promotion_tag":"赠品"},"promotion":[]},{"item_id":82,"title":"魅族 魅蓝metal 32GB 蓝色 ","image_default_id":"http://images.bbc.shopex123.com/images/38/c7/2b/f7abd93395b3b6636a2aea587e885a269224c4b4.png_s.png","price":"1199.000","sold_quantity":1,"gift":null,"promotion":[]}]}},"modified_time":1453894181,"order_sort":null},{"widgets_id":44,"shop_id":3,"widgets_type":"wapshowitems","params":{"tagsname":"童装","item_id":"70,68,67,66,65,63,61,60","itemlimit":"6","isstart":"1","ordersort":"addtime-l","itemlist":{"list":[{"item_id":70,"title":"纳兰小猪 童装男童加绒加厚卫衣","image_default_id":"http://images.bbc.shopex123.com/images/c1/01/90/a6fe2e777efa177fafe19e31c48dfb1e4cbcb913.png_s.png","price":"59.000","sold_quantity":0,"gift":null,"activity":{"activity_id":3,"item_id":70,"activity_tag":"平台活动","price":"59.000","activity_price":"20.000"},"promotion":[]},{"item_id":68,"title":"纳兰小猪童装男童卫衣加厚冬款 中大儿童加绒套头卫衣","image_default_id":"http://images.bbc.shopex123.com/images/89/65/45/220308767e11239cdd860754a6621536780f46d3.png_s.png","price":"59.000","sold_quantity":2,"gfit":{"gift_id":1,"promotion_tag":"赠品"},"activity":{"activity_id":3,"item_id":68,"activity_tag":"平台活动","price":"59.000","activity_price":"19.000"},"promotion":[]},{"item_id":63,"title":"迪士尼男童女童摇粒绒外套儿童开衫上衣 2016春装","image_default_id":"http://images.bbc.shopex123.com/images/fc/dc/bf/939d8ba149e2f74b5521b1514b6ffc8d179cbf2d.png_s.png","price":"89.000","sold_quantity":0,"gift":null,"activity":{"activity_id":3,"item_id":63,"activity_tag":"平台活动","price":"89.000","activity_price":"66.000"},"promotion":[]},{"item_id":65,"title":"迪士尼女童简约百搭翻领打底衫 2015冬季新款 白","image_default_id":"http://images.bbc.shopex123.com/images/c4/cc/d3/b1d3a500709ae3717b8879bcc2b9938864405e54.png_s.png","price":"58.000","sold_quantity":0,"gift":null,"activity":{"activity_id":3,"item_id":65,"activity_tag":"平台活动","price":"58.000","activity_price":"42.000"},"promotion":[]},{"item_id":66,"title":"迪士尼 可爱印花百搭时尚短袖T恤 蓝绿","image_default_id":"http://images.bbc.shopex123.com/images/ac/d0/3e/dd9932da2606f6984d348af9a2c8e036ef956fe0.png_s.png","price":"39.000","sold_quantity":0,"gift":null,"activity":{"activity_id":3,"item_id":66,"activity_tag":"平台活动","price":"39.000","activity_price":"25.000"},"promotion":[]},{"item_id":67,"title":"纳兰小猪童装男童衬衫加绒加厚中大儿童长袖秋装2015新款衬衣","image_default_id":"http://images.bbc.shopex123.com/images/fc/04/43/c7d244e2c104d6d2f40b9064aab188411099134d.png_s.png","price":"50.000","sold_quantity":0,"gift":null,"activity":{"activity_id":3,"item_id":67,"activity_tag":"平台活动","price":"50.000","activity_price":"39.990"},"promotion":[]}]}},"modified_time":1453894164,"order_sort":null}],"imageSlider":null,"custom":""}}

shop.basic获取店铺基本信息

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
shop_id int required min:1 1 店铺id

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"shopInfo":{"shop_id":3,"shop_name":"onexbbc自营店(自营店铺)","shop_descript":"onexbbc自营体验店","shop_type":"self","status":"active","open_time":1453699800,"qq":"","wangwang":"","shop_logo":"http://images.bbc.shopex123.com/images/e4/64/42/37eff0aeba30e897184f510c248deebd79cff488.png_t.png","shop_area":"上海","shop_addr":"桂林路396号","mobile":"13788822222","shopname":"onexbbc自营店(自营店铺)自营店","shoptype":"运营商自营"},"shopDsrData":{"tally_dsr":"2.5","attitude_dsr":"3.0","delivery_speed_dsr":"3.0"}}}

content.info获取文章详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
article_id int required numeric min:1 1 文章ID
fields field_list title,modified,content,node_id 要获取的字段集。多个字段用“,”分隔

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"article_id":44,"title":"测试文章4","modified":1475031906,"content":" 测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4测试文章4","node_id":4}}

content.list获取文章列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
node_id int required numeric min:1 1 文章ID
page_no int numeric 分页当前页数,默认为1
page_size int numeric 每页数据条数,默认10条
orderBy string 排序方式
fields field_list title,modified,content,node_id 要获取的字段集。多个字段用“,”分隔
platform string in:pc,wap true 平台,默认是wap

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"articleList":[{"article_id":44,"title":"测试文章4","node_id":4,"modified":1475031906},{"article_id":43,"title":"测试文章3","node_id":4,"modified":1475031888},{"article_id":42,"title":"测试文章2","node_id":4,"modified":1475031875},{"article_id":41,"title":"测试www","node_id":4,"modified":1475031851},{"article_id":6,"title":"订单的几种状态","node_id":4,"modified":1475031351},{"article_id":5,"title":"顾客必读","node_id":4,"modified":1475031344}],"articlecount":6,"nodeInfo":{"node_id":4,"node_name":"新手上路"},"pagers":{"total":6}}}

content.node.list获取目录列表

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
parent_id int 1 父级分类id
fields field_list title,modified,content,node_id 要获取的字段集。多个字段用“,”分隔
orderBy string 排序

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":[{"node_id":17,"parent_id":0,"node_name":"ONex产品介绍","children":[{"node_id":25,"parent_id":17,"node_depth":2,"node_name":" 朋克","node_path":"17,25","has_children":0,"ifpub":0,"order_sort":8,"modified":1453950923},{"node_id":24,"parent_id":17,"node_depth":2,"node_name":"电商中台","node_path":"17,24","has_children":0,"ifpub":0,"order_sort":7,"modified":1453950910},{"node_id":23,"parent_id":17,"node_depth":2,"node_name":"OMS订单管理","node_path":"17,23","has_children":0,"ifpub":0,"order_sort":6,"modified":1453950884},{"node_id":22,"parent_id":17,"node_depth":2,"node_name":"CRM会员营销","node_path":"17,22","has_children":0,"ifpub":0,"order_sort":5,"modified":1453950870},{"node_id":21,"parent_id":17,"node_depth":2,"node_name":"ECstore","node_path":"17,21","has_children":0,"ifpub":0,"order_sort":4,"modified":1453950844},{"node_id":20,"parent_id":17,"node_depth":2,"node_name":"智慧门店","node_path":"17,20","has_children":0,"ifpub":0,"order_sort":3,"modified":1453950110},{"node_id":19,"parent_id":17,"node_depth":2,"node_name":"在线零售","node_path":"17,19","has_children":0,"ifpub":0,"order_sort":2,"modified":1453950096},{"node_id":18,"parent_id":17,"node_depth":2,"node_name":"多用户商城","node_path":"17,18","has_children":0,"ifpub":0,"order_sort":1,"modified":1453950084}]},{"node_id":13,"parent_id":0,"node_name":"常见问题","children":[{"node_id":16,"parent_id":13,"node_depth":2,"node_name":"其他","node_path":"13,16","has_children":0,"ifpub":0,"order_sort":3,"modified":1453949843},{"node_id":15,"parent_id":13,"node_depth":2,"node_name":"安全管理","node_path":"13,15","has_children":0,"ifpub":0,"order_sort":2,"modified":1453949824},{"node_id":14,"parent_id":13,"node_depth":2,"node_name":"交易规则","node_path":"13,14","has_children":0,"ifpub":0,"order_sort":1,"modified":1453949816}]},{"node_id":8,"parent_id":0,"node_name":"公司简介","children":[{"node_id":12,"parent_id":8,"node_depth":2,"node_name":"成为合作伙伴","node_path":"8,","has_children":0,"ifpub":0,"order_sort":4,"modified":1453958856},{"node_id":11,"parent_id":8,"node_depth":2,"node_name":"招聘信息","node_path":"8,11","has_children":0,"ifpub":0,"order_sort":3,"modified":1453949753},{"node_id":10,"parent_id":8,"node_depth":2,"node_name":"联系我们","node_path":"8,10","has_children":0,"ifpub":0,"order_sort":2,"modified":1453949735},{"node_id":9,"parent_id":8,"node_depth":2,"node_name":"关于我们","node_path":"8,9","has_children":0,"ifpub":0,"order_sort":1,"modified":1453949726}]},{"node_id":3,"parent_id":0,"node_name":"帮助中心","children":[{"node_id":7,"parent_id":3,"node_depth":2,"node_name":"购物条款","node_path":"3,7","has_children":0,"ifpub":0,"order_sort":4,"modified":1453949704},{"node_id":6,"parent_id":3,"node_depth":2,"node_name":"支付/配送方式","node_path":"3,6","has_children":0,"ifpub":0,"order_sort":3,"modified":1453949694},{"node_id":5,"parent_id":3,"node_depth":2,"node_name":"购物指南","node_path":"3,5","has_children":0,"ifpub":0,"order_sort":2,"modified":1453949673},{"node_id":4,"parent_id":3,"node_depth":2,"node_name":"新手上路","node_path":"3,4","has_children":0,"ifpub":0,"order_sort":1,"modified":1453949636}]},{"node_id":1,"parent_id":0,"node_name":"推广文章","children":[{"node_id":2,"parent_id":1,"node_depth":2,"node_name":"说说","node_path":"1,2","has_children":0,"ifpub":0,"order_sort":1,"modified":1453874589}]}]}}

content.shop.info获取商家文章详情

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本

业务参数

字段 数据类型 验证条件 示例值 详细说明
article_id int required numeric min:1 1 文章ID
shop_id int required numeric min:1 店铺id
fields field_list title,modified,content,node_id 要获取的字段集。多个字段用“,”分隔

返回结果

返回JSON数据结构

{"errorcode":0,"msg":"","data":{"list":{"article_id":58,"title":"测试文章","modified":1479039979,"content":"这是测试文章!这是测试文章这是测试文章!这是测试文章!是测试文章!!这是测试文章!这是测试文章!这是测试文章!这是测试文章!这是测试文章!这是测试文章!这是测试文章!","node_id":8}}}

image.upload上传图片

系统参数

字段 数据类型 验证条件 示例值 详细说明
format string required json 返回数据是json格式的,目前只支持json
v string required 标识该接口的版本
accessToken string required 登录颁发的token

业务参数

字段 数据类型 验证条件 示例值 详细说明
upload_type string required in:binary,base64 上传图片类型,支持图片二进制流,base64
image binary string required 图片文件内容,不能为空
image_input_title string required 包括后缀名的图片标题,不能为空,如Bule.jpg, 图片上传后取图片文件的默认名
image_type string required in:complaints,aftersales,rate 图片类型, complaints 用户投诉商家图片, aftersales售后图片, rate 评价图片

返回结果

返回字段 类型 说明
image_id stirng 上传图片相对地址
url stirng 上传图片原图URL地址
t_url stirng 上传图片微图URL地址

results matching ""

    No results matching ""