查询分销商品(单个)
更新时间: 2018-08-10 10:05:08 访问次数:6760

接口说明

分销商或第三方平台通过该接口可查询可分销商品信息。

使用场景

使用分销商品列表接口拉取基础数据库,可根据此接口拉取其他详情数据,例如描述,图片等

接口名称

wanyilian.supplier.spu.querySPUList

请求说明

请求内容 说明
URL https://openapi.winit.com.cn/openapi/service
接口测试 https://openapi.uat1.winit.com.cn/cedpopenapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,1000有需要可申请加大。

请求入参

名称 类型 必填 说明 示例
SPU String() Y SPU,分销系统生成分销商品维一标识码
SKU String() N 商品编码,一般为客户商品唯一编码

请求示例

  1. {
  2. "action":"wanyilian.supplier.spu.querySPUList",
  3. "app_key":"rebecca",
  4. "data":{
  5. "SPU":" S10016230",
  6. "SKU":""
  7. },
  8. "format":"json",
  9. "language":"zh_CN",
  10. "platform":"SELLERERP",
  11. "sign":"00000000000000000000000000000000",
  12. "sign_method":"md5",
  13. "timestamp":"2015-06-16 001926",
  14. "version":"1.0"
  15. }

返回出参

返回参数说明:正确的返回编码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
warehouseName String() Y 仓库名称
warehouseCode String() Y 仓库代码
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 更新时间
-|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 ** Y 商品属性
-|-|key String() Y 属性-键
-|-|value String() Y 属性-值
ebayListingSubsidy Number Y ebay刊登补贴(RMB)
imgList Array Y 图片明细
-|imgURL String() Y 图片链接

返回示例

  1. {
  2. "code": "0",
  3. "msg": "操作成功",
  4. "data": {
  5. "pageParams": {
  6. "pageNo": 1,
  7. "pageSize": 10,
  8. "totalCount": 1
  9. },
  10. "SPUList": [
  11. {
  12. "englishName": null,
  13. "updateDate": "2023-07-17 16:03:54",
  14. "keywords": "",
  15. "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>",
  16. "SKUList": [
  17. {
  18. "supplyInventory": 19,
  19. "sepcification": null,
  20. "supplyPrice": 4444.00,
  21. "recommenSkuLogistics": [
  22. {
  23. "area": "NSW",
  24. "floorPrice": 1194.74,
  25. "winitProductName": "AU Post - Parcel Post eParcel (Standard 2-6 Business Days)-AUSY",
  26. "rebateRate": 0,
  27. "costPrice": 913.07,
  28. "rebatePscFee": 0,
  29. "platformFee": 179.21,
  30. "grossProfitMargin": 8,
  31. "miniPscCost": 6.88,
  32. "areaName": "NSW区",
  33. "currency": "AUD",
  34. "postCode": "1000-2263",
  35. "grossProfit": 95.58
  36. }
  37. ],
  38. "rebate": 1.00,
  39. "dailySales": "",
  40. "length": 22.00,
  41. "settlePrice": 4444.00,
  42. "dailyRents": "",
  43. "weight": 0.170,
  44. "itemPropertyList": [
  45. {
  46. "value": "8m",
  47. "key": "Size"
  48. }
  49. ],
  50. "warehouseName": "万邑通AU仓澳洲",
  51. "warehouseCode": "EWD",
  52. "retailPriceCode": "AUD",
  53. "minWholesalePrice": "",
  54. "minRetailPrice": 0.00,
  55. "randomSKU": "w12537028",
  56. "privateInventory": 0,
  57. "width": 14.00,
  58. "SKU": "AUJJ037",
  59. "wholesalePrice": 1.00,
  60. "height": 3.50
  61. },
  62. {
  63. "supplyInventory": 24,
  64. "sepcification": null,
  65. "supplyPrice": 4444.00,
  66. "recommenSkuLogistics": [
  67. {
  68. "area": "NSW",
  69. "floorPrice": 1194.74,
  70. "winitProductName": "AU Post - Parcel Post eParcel (Standard 2-6 Business Days)-AUSY",
  71. "rebateRate": 0,
  72. "costPrice": 913.07,
  73. "rebatePscFee": 0,
  74. "platformFee": 179.21,
  75. "grossProfitMargin": 8,
  76. "miniPscCost": 6.88,
  77. "areaName": "NSW区",
  78. "currency": "AUD",
  79. "postCode": "1000-2263",
  80. "grossProfit": 95.58
  81. }
  82. ],
  83. "rebate": 1.00,
  84. "dailySales": "",
  85. "length": 21.00,
  86. "settlePrice": 4444.00,
  87. "dailyRents": "",
  88. "weight": 0.315,
  89. "itemPropertyList": [
  90. {
  91. "value": "15m",
  92. "key": "Size"
  93. }
  94. ],
  95. "warehouseName": "万邑通AU仓澳洲",
  96. "warehouseCode": "EWD",
  97. "retailPriceCode": "AUD",
  98. "minWholesalePrice": "",
  99. "minRetailPrice": 0.00,
  100. "randomSKU": "w12537032",
  101. "privateInventory": 0,
  102. "width": 16.00,
  103. "SKU": "AUJJ044",
  104. "wholesalePrice": 1.00,
  105. "height": 6.00
  106. }
  107. ],
  108. "totalInventory": 77,
  109. "title": "15M Trampoline Sprinkler Water Spray Park Kid Fun Summer Outdoor Water Games",
  110. "warehouseName": "万邑通AU仓澳洲",
  111. "warehouseCode": "EWD",
  112. "categoryList": [
  113. {
  114. "fatherCategoryID": 11700,
  115. "categoryName": "Home & Garden",
  116. "categoryID": 11700
  117. },
  118. {
  119. "fatherCategoryID": 11700,
  120. "categoryName": "Other Home & Garden",
  121. "categoryID": 181076
  122. }
  123. ],
  124. "SPU": "S10092556",
  125. "categoryID": 181076,
  126. "uDefinedCategoryList": [
  127. {
  128. "uDefinedCategoryID": 1,
  129. "uDfatherCategoryID": null,
  130. "uDefinedCategoryName": "家居/园艺"
  131. },
  132. {
  133. "uDefinedCategoryID": 2,
  134. "uDfatherCategoryID": null,
  135. "uDefinedCategoryName": "户外运动"
  136. },
  137. {
  138. "uDefinedCategoryID": 97,
  139. "uDfatherCategoryID": null,
  140. "uDefinedCategoryName": "汽车用品"
  141. },
  142. {
  143. "uDefinedCategoryID": 98,
  144. "uDfatherCategoryID": null,
  145. "uDefinedCategoryName": "工业用品"
  146. },
  147. {
  148. "uDefinedCategoryID": 99,
  149. "uDfatherCategoryID": null,
  150. "uDefinedCategoryName": "其他"
  151. }
  152. ],
  153. "thumbnail": null,
  154. "supplierAccount": "Queenie0320",
  155. "ebayListingSubsidy": 0.00,
  156. "supplierCompany": "0",
  157. "afterSaleRuleId": null,
  158. "afterSaleRuleNo": "R00011",
  159. "saleTypeIds": "1",
  160. "publishType": "Obtained",
  161. "chineseName": "澳洲仓 蹦床喷水 15米",
  162. "userDefinedCode": "AUJJ044",
  163. "imgList": [
  164. "http://wanyilian.com/erp/uploads/allimg/230427/0-23042G03P1-50.jpg",
  165. "http://wanyilian.com/erp/uploads/allimg/230427/0-23042G05330.jpg",
  166. "http://www.wanyilian.com/erp/uploads/allimg/230428/0-23042Q14U3.jpg"
  167. ],
  168. "cid": 1402
  169. }
  170. ]
  171. }
  172. }