电商工具栏接口配置(webim、小程序通路)
商品(后续引入sequenceId)
推荐列表
简要描述:
商品推荐列表
请求URL:
https://xxx.xx.xxx/xxx?access_token=ACCESS_TOKEN
请求方式:
POST
参数:
{
"searchValue": "智能手表",
"page": 1,
"pageSize": 10,
"sequenceId": "10",
"openId": "122",
"kfext": "1038865789",
"appId": "122dd",
"saasId": "122dd"
}
返回示例
{
"code": 0,
"message": "success",
"total": "2",
"data": [
{
"id": "1",
"title": "智能手表1111",
"indicate": "4G全网通|八重安全定位",
"price": "999.99",
"inventory": "20",
"sales": "5",
"image": "http://image.it168.com/n/640x480/4/4869/4869316.jpg",
"jumpURL": "",
"jumpURLMore": "",
"shareAppPath": "跳转的小程序路径地址"
},
{
"id": "2",
"title": "智能手表222",
"indicate": "4G全网通|八重安全定位",
"price": "999.99",
"inventory": "20",
"sales": "5",
"image": "http://image.it168.com/n/640x480/4/4869/4869316.jpg",
"jumpURL": "",
"jumpURLMore": "",
"shareAppPath": "跳转的小程序路径地址"
}
]
}
返回参数说明
浏览足迹
简要描述:
用户浏览足迹
请求URL:
https://xxx.xx.xxx/xxx?access_token=ACCESS_TOKEN
请求方式:
POST
参数:
{
"searchValue": "智能手表",
"page": 1,
"pageSize": 10,
"sequenceId": "10",
"openId": "122",
"kfext": "1038865789",
"appId": "122dd",
"saasId": "122dd"
}
返回示例
{
"code": 0,
"message": "success",
"total": "2",
"data": [
{
"id": "1",
"title": "智能手表推荐",
"indicate": "4G全网通|八重安全定位",
"price": "999.99",
"inventory": "20",
"sales": "5",
"image": "http://image.it168.com/n/640x480/4/4869/4869316.jpg",
"jumpURL": "",
"jumpURLMore": "",
"shareAppPath": "跳转的小程序路径地址"
},
{
"id": "2",
"title": "智能手表222",
"indicate": "4G全网通|八重安全定位",
"price": "999.99",
"inventory": "20",
"sales": "5",
"image": "http://image.it168.com/n/640x480/4/4869/4869316.jpg",
"jumpURL": "",
"jumpURLMore": "",
"shareAppPath": "wx8b7354939f7b1230"
}
]
}
返回参数说明
商品列表
简要描述:
拉取商品列表(全部)
请求URL:
https://xxx.xx.xxx/xxx?access_token=ACCESS_TOKEN
请求方式:
POST
参数:
{
"searchValue": "智能手表",
"page": 2,
"pageSize": 10,
"sequenceId": "10",
"openId": "122",
"kfext": "1038865789",
"appId": "122dd",
"saasId": "122dd"
}
返回示例
{
"code": 0,
"message": "success",
"total": "4",
"data": [
{
"id": "3",
"title": "智能手表1111",
"indicate": "4G全网通|八重安全定位",
"price": "999.99",
"inventory": "20",
"sales": "5",
"image": "http://image.it168.com/n/640x480/4/4869/4869316.jpg",
"jumpURL": "",
"jumpURLMore": "",
"shareAppPath": "跳转的小程序路径地址"
},
{
"id": "4",
"title": "智能手表222",
"indicate": "4G全网通|八重安全定位",
"price": "999.99",
"inventory": "20",
"sales": "5",
"image": "http://image.it168.com/n/640x480/4/4869/4869316.jpg",
"jumpURL": "",
"jumpURLMore": "",
"shareAppPath": "跳转的小程序路径地址"
}
]
}
返回参数说明
订单
订单分类
简要描述:
拉取订单分类
请求URL:https://xxx.xx.xxx/xxx?access_token=ACCESS_TOKEN
请求方式:
POST
参数:
{
"openId": "xxx",
"kfext": "1038865789",
"appId": "122dd",
"saasId": "122dd"
}
返回示例
{
"code": 0,
"message": "success",
"data": [
{
"name": "全部",
"key": "all"
},
{
"name": "已完成",
"key": "furfilled"
}
]
}
返回参数说明
订单列表
简要描述:
拉取对应分类的订单列表
请求URL:
https://xxx.xx.xxx/xxx?access_token=ACCESS_TOKEN
请求方式:
POST
参数:
{
"searchValue": "",
"tagValue": "all",
"page": 1,
"pageSize": 10,
"openId": "122",
"kfext": "1038865789",
"appId": "122dd",
"saasId": "122dd"
}
返回示例
{
"code": 0,
"message": "success",
"total": "2",
"data": [
{
"id": "1",
"totalPrice": "1111",
"discount": "22",
"transportation": "22",
"actual": "1111",
"type": "待付款",
"orderNumber": "1245222",
"orderTime": "1635946910 ",
"payTime": "1635946910 ",
"jumpURL": "",
"jumpURLMore": "",
"shareAppPath": "跳转的小程序路径地址",
"totalCount": "1635946910 ",
"unit": "",
"goodsList": [
{
"id": "1",
"title": "智能手表1111",
"indicate": "4G全网通|八重安全定位",
"price": "999.99 ",
"image": "https://aaa.com/a.png",
"count": "2",
"unit": "件",
"jumpURL": "",
"jumpURLMore": ""
},
{
"id": "2",
"title": "智能手表222",
"indicate": "4G全网通|八重安全定位",
"price": "999.99 ",
"image": "https://aaa.com/a.png",
"count": "2",
"unit": "件",
"jumpURL": "",
"jumpURLMore": ""
}
]
},
{
"id": "1",
"totalPrice": "1111",
"discount": "22",
"transportation": "22",
"actual": "1111",
"type": "待付款",
"orderNumber": "1245222",
"orderTime": "1635946910 ",
"payTime": "1635946910 ",
"jumpURL": "",
"jumpURLMore": "",
"shareAppPath": "跳转的小程序路径地址",
"totalCount": "1635946910 ",
"unit": "",
"goodsList": [
{
"id": "1",
"title": "智能手表1111",
"indicate": "4G全网通|八重安全定位",
"price": "999.99 ",
"image": "https://aaa.com/a.png",
"count": "2",
"unit": "件",
"jumpURL": "",
"jumpURLMore": ""
},
{
"id": "2",
"title": "智能手表222",
"indicate": "4G全网通|八重安全定位",
"price": "999.99 ",
"image": "https://aaa.com/a.png",
"count": "2",
"unit": "件",
"jumpURL": "",
"jumpURLMore": ""
}
]
}
]
}
返回参数说明
优惠券
优惠券列表
简要描述:
拉取优惠券列表
请求URL:
https://xxx.xx.xxx/xxx?access_token=ACCESS_TOKEN
请求方式:
POST
参数:
{
"searchValue": "",
"page": 1,
"pageSize": 10,
"openId": "122",
"kfext": "1038865789",
"appId": "122dd",
"saasId": "122dd"
}
返回示例
{
"code": 0,
"message": "success",
"total": "2",
"data": [
{
"id": "1",
"title": "优惠券111",
"detail": "2021.01.02前使用",
"image": "https://aaa.com/a.png",
"jumpURL": " ",
"jumpURLMore": "",
"shareAppPath": "跳转的小程序路径地址"
},
{
"id": "2",
"title": "优惠券111",
"detail": "2021.01.02前使用",
"image": "https://aaa.com/a.png",
"jumpURL": " ",
"jumpURLMore": "",
"shareAppPath": "跳转的小程序路径地址"
}
]
}
返回参数说明