- API
- 文档中心
- 平台公告
- 重要:沙箱环境维护通知
- 【2023-03-14】沙箱自动测试工具上线
- 【2022-07-18】Winit开通加拿大仓(CATO)通知
- 【2022-05-12】入库单状态变化通知
- 【2022-02-25】查询入库单详情接口变更通知
- 【2022-02-17】注册查询商品接口变更通知
- 关于openapi升级安全能力的通知
- 【2021-11-30】winit在2021年12月6日更改沙箱环境的网址
- 新增入库单作废接口【2021-11-18】
- 更换沙箱环境调用URL【2021-11-1】
- 入库出库退货接口变更和停用http的通知【2021-9-30】
- 开发平台请求升级为https[2021-8-6]
- 英国新增UKBM仓库及其服务[2021-7-12]
- 支持欧盟7月1日税改增加IOSS字段传输【6-28】
- ISP新增发件人VATNO和EORI【2021-3-4】
- 库存查询相关接口变更【2021-1-27】
- 脱欧政策相关API变更【2020-12-22】
- 开发者网站停机维护(无法访问官网)【2020-9-12】
- 门牌号截取服务升级
- 沙箱环境版本更新通知【2020-8-5】
- 海外仓出库单的增值服务费用金额范围变更
- 海外仓部分尾程产品服务商及追踪号上传规则变更通知【2020-6-15】
- 优化门牌号截取【2020-05-21】
- 尾程派送渠道4月13日针对收件人门牌号及其字段校验变更
- 库存查询接口说明
- 基础文档
- ERP授权操作指引
- 常见问题
- 平台公告
查询分销商品(单个)
更新时间: 2025-03-10 20:36:20 访问次数:7630
接口说明
分销商或第三方平台通过该接口可查询可分销商品信息。
使用场景
使用分销商品列表接口拉取基础数据库,可根据此接口拉取其他详情数据,例如描述,图片等
接口名称
wanyilian.supplier.spu.querySPUList
请求说明
请求内容 | 说明 |
---|---|
URL | https://openapi.wanyilian.com/cedpopenapi/service |
验证方法 | Token,md5 |
格式 | json |
字符编码 | UTF-8 |
http请求方式 | http |
请求数限制 | 默认每分钟1000,1000有需要可申请加大。 |
请求入参
名称 | 类型 | 必填 | 说明 | 示例 |
---|---|---|---|---|
SPU | String() | Y | SPU,分销系统生成分销商品维一标识码 | |
SKU | String() | N | 商品编码,一般为客户商品唯一编码 |
请求示例
{
"action":"wanyilian.supplier.spu.querySPUList",
"app_key":"rebecca",
"data":{
"SPU":" S10016230",
"SKU":""
},
"format":"json",
"language":"zh_CN",
"platform":"SELLERERP",
"sign":"00000000000000000000000000000000",
"sign_method":"md5",
"timestamp":"2015-06-16 001926",
"version":"1.0"
}
返回出参
返回参数说明:正确的返回编码0及结果,错误的返回错误码及错误信息。
名称 | 类型 | 必传 | 说明 | 示例 |
---|---|---|---|---|
SPU | String() | Y | SPU分销系统生成分销商品维一标识码 | S10016230 |
userDefinedCode | String() | Y | 客户自定义编码 | |
title | String() | Y | 商品标题 | |
chineseName | String() | Y | 中文名称 | |
englishName | String() | Y | 英文名称 | |
totalInventory | Number | Y | 可用总库存 | |
cid | int | Y | 商品分类id(新增) | |
saleTypeIds | String() | Y | 商品销售类型(新增) | |
keywords | String() | Y | 关键词,多个关键词依逗号分隔 | |
description | String() | Y | 商品描述html文本 | |
publishType | String() | Y | unPublish:未发布 Draft:草稿 Publish:发布 Obtained:下架 | |
thumbnail | String() | Y | 主图url | |
pid | Number | Y | 商品id | |
categoryID | Number | Y | ebay分类id | |
afterSaleRuleId | Number | Y | 售后ID | |
afterSaleRuleNo | String() | Y | 售后编码 | |
supplierAccount | String() | Y | 供应商账号 | |
supplierCompany | String() | N | 供应商工厂 | |
uDefinedCategoryList | Array | Y | 万邑链分类 | |
- uDefinedCategoryID | Number | Y | 分类ID | |
- uDefinedCategoryName | String() | Y | 分类名称 | |
categoryList | Array | Y | ebay分类 | |
- categoryID | Number | Y | 分类id | |
- categoryName | String() | Y | 分类名称 | |
- fatherCategoryID | Number | Y | 父分类id | |
SKUlist | Array | Y | 商品列表 | |
- SKU | String() | Y | 商品编码 | |
- randomSKU | String() | Y | 系统编码 | |
- supplyInventory | Number | Y | 供货库存 | |
- sepcification | String() | Y | 商品规格 | |
- rebate | Number | Y | 折扣(%) | 0-100 |
- supplyPrice | Number | Y | 供货价格(RMB) | |
- settlePrice | Number | Y | 结算价格(RMB), 结算价格=供货价格*折扣 | |
- minRetailPrice | Number | Y | 最低零售价(本地币种) | |
- retailPriceCode | String() | Y | 最低零售价币种 | CNY,USD,AUD |
- weight | Number | Y | 重量(kg) | |
- length | Number | Y | 长度(cm) | |
- width | Number | Y | 宽度(cm) | |
- height | Number | Y | 高度(cm) | |
- updateDate | String() | Y | 更新时间 | |
- privateInventory | Number | N | //专属/保留库存 | |
- wholesalePrice | Number | N | 批发价 | |
- dailyRents | Number | N | 日租金 | |
- dailySales | Number | N | 日均销量 | |
- warehouseCode | String() | Y | 仓库编码 | |
- warehouseName | String() | Y | 仓库名称 | |
- countryCode | String() | Y | 国家二字码 | |
- tmppic | String() | Y | 明细图片链接 | |
- recommenSkuLogistics | Array | Y | 推荐物流 | |
- - area | String() | Y | 分区 | |
- - areaName | String() | Y | 分区名称 | |
- - postCode | String() | Y | 邮编 | |
- - winitProductName | String() | Y | 推荐物流 | |
- - miniPscCost | Number | Y | 最小物流费用 | |
- - floorPrice | Number | Y | 建议最低售价 | |
- - costPrice | Number | Y | 供货价格 | |
- - rebatePscFee | Number | Y | 返利价格 | |
- - rebateRate | Number | Y | 返利利率 | |
- - platformFee | Number | Y | 平台费用 | |
- - grossProfit | Number | Y | 毛利 | |
- - grossProfitMargin | Number | Y | 毛利率 | |
- - currency | String() | Y | 币种 | |
- itemPropertyList | Array | Y | 商品属性 | |
- - key | String() | Y | 属性-键 | |
- - value | String() | Y | 属性-值 | |
ebayListingSubsidy | Number | Y | ebay刊登补贴(RMB) | |
imgList | Array | Y | 图片明细 | |
- imgURL | String() | Y | 图片链接 |
返回示例
{
"code": "0",
"msg": "操作成功",
"data": {
"pageParams": {
"pageNo": 1,
"pageSize": 10,
"totalCount": 1
},
"SPUList": [
{
"englishName": null,
"updateDate": "2023-07-17 16:03:54",
"keywords": "",
"description": "<p>15 Meter Trampoline Sprinkler<br />\n </p>\n\n<p> </p>\n\n<table align=\"center\">\n\t<tbody>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t<p>Spray Water Park Summer Sprinkler Outdoor Water Game</p>\n\n\t\t\t<p>Transform your Trampoline in minutes, so easy to install.</p>\n\n\t\t\t<p>Comes with everything you need to plug into your normal hose pipe.</p>\n\n\t\t\t<p>* ★[Trampoline Sprinkler] Our Trampoline Sprinkler can let kids play freely in the courtyard and spend the cool summer. Our Trampoline Water Sprinkler can reduce the temperature on the trampoline by 25 degrees. Bring a cool summer for your love kids!</p>\n\n\t\t\t<p>* ★[Safe for Children to Play] This sprinkler is made of Safe and environmental materials,no smell,It is UV resistant, does not deform or swell under the sun, can be repeated used on hot days. The hose attached on the outside of the trampoline net can avoid your child accidentally grab it while jumping.</p>\n\n\t\t\t<p>* ★[Easy to Use] As one of trampoline accessories, the water sprinkler is easy to install and use. Attach the hose on the outside of the trampoline net, Connect hose to faucet, turn on the tap, and begin your kids' party in the outdoor water park.</p>\n\n\t\t\t<p>* ★[Different Sizes] Fits 15ft trampolines.</p>\n\n\t\t\t<p>* ★[Wide Application] You can let your summer water party begin by installing the water pipe on a trampoline. And you don't have to use this product only for a trampoline, it also can be used for garden, lawn watering, and outdoor cooling for dogs and so on.</p>\n\t\t\t</td>\n\t\t</tr>\n\t</tbody>\n</table>",
"SKUList": [
{
"supplyInventory": 19,
"sepcification": null,
"supplyPrice": 4444.00,
"recommenSkuLogistics": [
{
"area": "NSW",
"floorPrice": 1194.74,
"winitProductName": "AU Post - Parcel Post eParcel (Standard 2-6 Business Days)-AUSY",
"rebateRate": 0,
"costPrice": 913.07,
"rebatePscFee": 0,
"platformFee": 179.21,
"grossProfitMargin": 8,
"miniPscCost": 6.88,
"areaName": "NSW区",
"currency": "AUD",
"postCode": "1000-2263",
"grossProfit": 95.58
}
],
"rebate": 1.00,
"dailySales": "",
"length": 22.00,
"settlePrice": 4444.00,
"dailyRents": "",
"weight": 0.170,
"itemPropertyList": [
{
"value": "8m",
"key": "Size"
}
],
"warehouseName": "万邑通AU仓澳洲",
"warehouseCode": "EWD",
"retailPriceCode": "AUD",
"minWholesalePrice": "",
"minRetailPrice": 0.00,
"randomSKU": "w12537028",
"privateInventory": 0,
"width": 14.00,
"SKU": "AUJJ037",
"wholesalePrice": 1.00,
"height": 3.50
},
{
"supplyInventory": 24,
"sepcification": null,
"supplyPrice": 4444.00,
"recommenSkuLogistics": [
{
"area": "NSW",
"floorPrice": 1194.74,
"winitProductName": "AU Post - Parcel Post eParcel (Standard 2-6 Business Days)-AUSY",
"rebateRate": 0,
"costPrice": 913.07,
"rebatePscFee": 0,
"platformFee": 179.21,
"grossProfitMargin": 8,
"miniPscCost": 6.88,
"areaName": "NSW区",
"currency": "AUD",
"postCode": "1000-2263",
"grossProfit": 95.58
}
],
"rebate": 1.00,
"dailySales": "",
"length": 21.00,
"settlePrice": 4444.00,
"dailyRents": "",
"weight": 0.315,
"itemPropertyList": [
{
"value": "15m",
"key": "Size"
}
],
"warehouseName": "万邑通AU仓澳洲",
"warehouseCode": "EWD",
"retailPriceCode": "AUD",
"minWholesalePrice": "",
"minRetailPrice": 0.00,
"randomSKU": "w12537032",
"privateInventory": 0,
"width": 16.00,
"SKU": "AUJJ044",
"wholesalePrice": 1.00,
"height": 6.00
}
],
"totalInventory": 77,
"title": "15M Trampoline Sprinkler Water Spray Park Kid Fun Summer Outdoor Water Games",
"warehouseName": "万邑通AU仓澳洲",
"warehouseCode": "EWD",
"categoryList": [
{
"fatherCategoryID": 11700,
"categoryName": "Home & Garden",
"categoryID": 11700
},
{
"fatherCategoryID": 11700,
"categoryName": "Other Home & Garden",
"categoryID": 181076
}
],
"SPU": "S10092556",
"categoryID": 181076,
"uDefinedCategoryList": [
{
"uDefinedCategoryID": 1,
"uDfatherCategoryID": null,
"uDefinedCategoryName": "家居/园艺"
},
{
"uDefinedCategoryID": 2,
"uDfatherCategoryID": null,
"uDefinedCategoryName": "户外运动"
},
{
"uDefinedCategoryID": 97,
"uDfatherCategoryID": null,
"uDefinedCategoryName": "汽车用品"
},
{
"uDefinedCategoryID": 98,
"uDfatherCategoryID": null,
"uDefinedCategoryName": "工业用品"
},
{
"uDefinedCategoryID": 99,
"uDfatherCategoryID": null,
"uDefinedCategoryName": "其他"
}
],
"thumbnail": null,
"supplierAccount": "Queenie0320",
"ebayListingSubsidy": 0.00,
"supplierCompany": "0",
"afterSaleRuleId": null,
"afterSaleRuleNo": "R00011",
"saleTypeIds": "1",
"publishType": "Obtained",
"chineseName": "澳洲仓 蹦床喷水 15米",
"userDefinedCode": "AUJJ044",
"imgList": [
"http://wanyilian.com/erp/uploads/allimg/230427/0-23042G03P1-50.jpg",
"http://wanyilian.com/erp/uploads/allimg/230427/0-23042G05330.jpg",
"http://www.wanyilian.com/erp/uploads/allimg/230428/0-23042Q14U3.jpg"
],
"cid": 1402
}
]
}
}