文档
测试

商品列表

GET
https://openapi.ruwii.com/api/goods/goodsBatchGet

接口描述

查询可售的所有商品(SPU)编码

公共请求参数

参数名
类型
描述
必填
clientId
String
应用Id
必填
accessToken
String
用户认证凭证
必填
sign
String
参数签名
必填
timestamp
Long
时间戳,当前时间的毫秒数
必填
v
String
api版本号,值:2.0
必填

业务请求参数

参数名
类型
描述
必填
pageNo
Int
分页编号,从1开始。
必填
pageSize
Int
每页条目数,默认数据量为100条
必填

响应参数

application/json
参数名
类型
描述
code
Int
请求返回码
message
String
请求返回消息
data
Object
响应业务数据
spuCodeList
List
商品spu编码集合
totalResults
Int
当前请求返回记录条数

返回示例

```json { "code": 0, "message": "成功", "data": { "spuCodeList": [ "G202203221349549627", "G202110151149485841", "G202101041154395675", "G202011230946165611", "G202010231103145590", "G202009301452435588", "G202009301039325587", "G202009301033245586", "G202009301020065585", "G202009221005565584", "G202009220943005581", "G202009211410475576", "G202009211325535569", "G202009211020475564", "G202009181640215563", "G202009181511155562", "G202009151759305561", "G202009100912005559", "G202009081503505557", "G202009031712065555", "G202005211331085498", "G202005181657555497", "G202005181653005496", "G202005181507505494", "G202005141707175493", "G202005141652175492", "G202005141100495491", "G202005141039465490", "G202005141009235489", "G202005131706315488", "G202005130956505487", "G202005121414125486", "G202004151414335476", "G202003171043555473", "G202003160937445472", "G202003121037525471", "G202003111753215470", "G202003111751215469", "G202003111705345468", "G20190927113329207", "G20190807103244178", "G20190718100206170", "G20190715100745162" ] }, "totalResults": 43 } ```