获取店铺内出售中的商品列表,并能根据传入的搜索条件对出售中的商品列表进行过滤 只能获得商品的部分信息,商品的详细信息请通过store.item.get获取
支持平台: 淘宝, 拍拍, 京东, ECstore
获取店铺内出售中的商品列表,并能根据传入的搜索条件对出售中的商品列表进行过滤 只能获得商品的部分信息,商品的详细信息请通过store.item.get获取
支持平台: 淘宝, 拍拍, 京东, ECstore
需授权
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
method | String | 是 | API接口名称 |
certi_id | Number | 否 | 分配给应用的证书ID |
from_node_id | String | 是 | API调用的来源节点ID,对于第三方开发者来说,此id即为申请应用颁发的APP KEY |
from_api_v | String | 否 | 请求方版本号 |
to_node_id | String | 否 | API调用的目的节点ID(除了基础服务类api,其他接口必传此参数) |
to_api_v | String | 否 | 接收方版本号 |
callback_url | String | 否 | 响应回调地址,带http路径的标准URL。(调用异步接口此参数必填) |
v | String | 是 | 矩阵API协议版本,可选值:1.0 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd hh:mm:ss,例如:2008-01-25 20:23:30。ShopEx API服务端允许客户端请求时间误差为10分钟 |
format | String | 是 | 可选,指定响应格式。默认JSON ,目前支持格式为JSON |
sign | String | 是 | 对调用API时所有输入参数(包括应用级参数)进行签名结果 |
名称 | 类型 |
|
示例值 | 默认值 | 描述 |
---|---|---|---|---|---|
cat_id | Number |
淘宝(不支持) 拍拍(不支持) 京东(不支持) ECstore(可选) |
商品所属的店铺内自定义分类ID |
||
cid | Number |
淘宝(不支持) 拍拍(不支持) 京东(可选) ECstore(可选) |
商品叶子类目ID |
||
brand_id | Number |
淘宝(不支持) 拍拍(不支持) 京东(不支持) ECstore(可选) |
商品品牌ID |
||
page_no | Number |
淘宝(可选) 拍拍(可选) 京东(必填) ECstore(可选) |
页码。取值范围:大于零的整数;默认值为1,即返回第一页数据。 |
||
page_size | Number |
淘宝(可选) 拍拍(可选) 京东(必填) ECstore(可选) |
每页条数。取值范围:大于零的整数;最大值:200;默认值:40。 |
||
approve_status | String |
淘宝(可选) 拍拍(可选) 京东(必填) ECstore(不支持) |
提供3个状态选择 all所有,onsale出售中,instock库中 |
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
total_results | Number | 是 | 10 |
数据条数 |
items | Item | 是 | 返回商品数据 |
1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | { "rsp" : "succ" , "msg_id" :3463421b2581604c74dcb9b74ffab2e4, "data" :{ "total_results" : "10" , "items" :{ "item" :[{ "iid" : "200001" , "outer_id" : "012345" , "bn" : "bn123" , "num" : "10" , "title" : "Nokia手机N73" , "cid" : "" , "shopcat_id" : "" , "brand_id" : "" , "input_pids" : "" , "input_str" : "" , "score" : "30" , "supplier_id" : "1234" , "supplier_name" : "xxx" , "barcode" : "1212" , "is_simple" : "true" , "valid_thru" : "14" , "costprice" : "125.00" , "list_time" : "2010-11-11" , "delist_time" : "2010-11-15" , "stuff_status" : "new" , "country" : "中国" , "state" : "上海市" , "city" : "上海市" , "district" : "徐汇区" , "post_fee" : "15.00" , "express_fee" : "30.00" , "ems_fee" : "20.00" , "has_discount" : "true" , "freight_payer" : "buyer" , "has_invoice" : "true" , "has_warranty" : "true" , "has_showcase" : "true" , "increment" : "0" , "auto_repost" : "false" , "postage_id" : "" , "auction_point" : "30%" , "is_virtual" : "true" , "seller_uname" : "张三" , "type" : "fixed" , "props" : "颜色:红色;配置:全配" , "status" : "onsale" , "price" : "1500.00" , "mktprice" : "1800.00" , "unit" : "台" , "modified" : "2010-01-01 20:01:01" }, { "iid" : "200001" , "outer_id" : "012345" , "bn" : "bn123" , "num" : "10" , "title" : "索尼爱立信M608c" , "cid" : "" , "shopcat_id" : "" , "brand_id" : "" , "input_pids" : "" , "input_str" : "" , "score" : "30" , "valid_thru" : "14" , "costprice" : "125.00" , "list_time" : "2010-11-11" , "delist_time" : "2010-11-15" , "stuff_status" : "new" , "country" : "中国" , "state" : "上海市" , "city" : "上海市" , "district" : "徐汇区" , "post_fee" : "15.00" , "express_fee" : "30.00" , "ems_fee" : "20.00" , "has_discount" : "true" , "freight_payer" : "buyer" , "has_invoice" : "true" , "has_warranty" : "true" , "has_showcase" : "true" , "increment" : "0" , "auto_repost" : "false" , "postage_id" : "" , "auction_point" : "30%" , "is_virtual" : "true" , "seller_uname" : "张三" , "type" : "fixed" , "props" : "颜色:红色;配置:全配" , "status" : "onsale" , "price" : "1500.00" , "mktprice" : "1800.00" , "unit" : "台" , "modified" : "2010-01-01 20:01:01" }, { "iid" : "200001" , "outer_id" : "012345" , "bn" : "bn123" , "num" : "10" , "title" : "Nokia手机N75" , "cid" : "" , "shopcat_id" : "" , "brand_id" : "" , "input_pids" : "" , "input_str" : "" , "score" : "30" , "valid_thru" : "14" , "costprice" : "125.00" , "list_time" : "2010-11-11" , "delist_time" : "2010-11-15" , "stuff_status" : "new" , "country" : "中国" , "state" : "上海市" , "city" : "上海市" , "district" : "徐汇区" , "post_fee" : "15.00" , "express_fee" : "30.00" , "ems_fee" : "20.00" , "has_discount" : "true" , "freight_payer" : "buyer" , "has_invoice" : "true" , "has_warranty" : "true" , "has_showcase" : "true" , "increment" : "0" , "auto_repost" : "false" , "postage_id" : "" , "auction_point" : "30%" , "is_virtual" : "true" , "seller_uname" : "张三" , "type" : "fixed" , "props" : "颜色:红色;配置:全配" , "status" : "onsale" , "price" : "1500.00" , "mktprice" : "1800.00" , "unit" : "台" , "modified" : "2010-01-01 20:01:01" }] } } } |
错误码 | 错误描述 | 解决方案 |
---|