Showing
1 changed file
with
371 additions
and
0 deletions
@@ -29,3 +29,374 @@ code为200即为成功且只会返回200,每次都会有响应结果。 | @@ -29,3 +29,374 @@ code为200即为成功且只会返回200,每次都会有响应结果。 | ||
29 | "message": "Product List." | 29 | "message": "Product List." |
30 | } | 30 | } |
31 | ``` | 31 | ``` |
32 | + | ||
33 | +## product.getBasicProductBySku## | ||
34 | + | ||
35 | +请求方式:POST | ||
36 | +#### 请求参数 | ||
37 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
38 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
39 | +|param|String|否|926992|null|商品sku| | ||
40 | + | ||
41 | +注意,通用的头部没有列出。 | ||
42 | +请求示例 | ||
43 | +http://192.168.102.205:8083/product/product/getBasicProductBySku | ||
44 | + | ||
45 | +### 响应 | ||
46 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
47 | +响应JSON格式如下所示: | ||
48 | +```json | ||
49 | +{ | ||
50 | + "arrivalTime": 0, | ||
51 | + "attribute": 1, | ||
52 | + "auditingTime": 0, | ||
53 | + "brandId": 68, | ||
54 | + "cnAlphabet": "LACOSTESPORTSWEARRENEVAULTSTAR30SRW4107", | ||
55 | + "createTime": 1445837977, | ||
56 | + "editTime": 1448968188, | ||
57 | + "elements": "", | ||
58 | + "erpProductId": 51164996, | ||
59 | + "expectArrivalTime": null, | ||
60 | + "firstShelveTime": 1448968188, | ||
61 | + "gender": "2", | ||
62 | + "id": 294447, | ||
63 | + "instalmentId": 0, | ||
64 | + "isAdvance": "N", | ||
65 | + "isAuditing": "Y", | ||
66 | + "isCollect": "", | ||
67 | + "isDown": "N", | ||
68 | + "isHot": "N", | ||
69 | + "isInstalment": "0", | ||
70 | + "isJit": "N", | ||
71 | + "isLimitBuy": "N", | ||
72 | + "isLimited": "N", | ||
73 | + "isNew": "Y", | ||
74 | + "isOutlets": "N", | ||
75 | + "isPayDelivery": "2", | ||
76 | + "isPromotion": 102, | ||
77 | + "isRecommend": "N", | ||
78 | + "isReplenishment": 0, | ||
79 | + "isRetrieval": "N", | ||
80 | + "isSales": "Y", | ||
81 | + "isSpecial": "N", | ||
82 | + "isSeckill": "N", | ||
83 | + "material": "", | ||
84 | + "maxSortId": 6, | ||
85 | + "middleSortId": 44, | ||
86 | + "pattern": "", | ||
87 | + "phrase": "LACOSTE鞋履回归品牌传统,重回1933年RENE LACOSTE先生最爱的网球场风格,在悠久的品牌传承中汲取灵感,将曾经最受欢迎的款式带 回人们的视线。自从René首次用标志性的醒目鳄鱼图案刺绣装饰赛服起,LACOSTE便开始引领运动与时尚的潮流。LACOSTE新品参考了其网球传统,但并非简单的复制,而是遵循了尊重传统、探索未来的理念。该系列精心考虑了现代实用性,轻松而舒适地完成城市到球场的转换。LACOSTE的鞋履系列,“灵感源自网球场,始于1933年”,突显了“生活是最美的运动”的理念,将LACOSTE的功能和优雅的完美 融合,并注入日常生活。鞋面材质:牛皮革,织物面。", | ||
88 | + "productName": "LACOSTE SPORTSWEAR RENE VAULTSTAR 休闲鞋", | ||
89 | + "productUrl": "", | ||
90 | + "salableTime": "0", | ||
91 | + "salesPhrase": "LACOSTE鞋履回归品牌传统,重回1933年RENE LACOSTE先生最爱的网球场风格,在悠久的品牌传承中汲取灵感,将曾经最受欢迎的款式带 回人们的视线。自从René首次用标志性的醒目鳄鱼图案刺绣", | ||
92 | + "seasons": "autumn,winter", | ||
93 | + "seriesId": 0, | ||
94 | + "shelveTime": 1452304200, | ||
95 | + "shopId": 0, | ||
96 | + "smallSortId": 147, | ||
97 | + "sortId": 0, | ||
98 | + "status": 1, | ||
99 | + "storage": 46, | ||
100 | + "style": "", | ||
101 | + "supplierId": 0 | ||
102 | +} | ||
103 | +``` | ||
104 | + | ||
105 | +## product.queryProductBasicInfo## | ||
106 | + | ||
107 | +请求方式:POST | ||
108 | +#### 请求参数 | ||
109 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
110 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
111 | +|param|String|否|294447|null|商品id| | ||
112 | + | ||
113 | +注意,通用的头部没有列出。 | ||
114 | +请求示例 | ||
115 | +http://192.168.102.205:8083/product/product/queryProductBasicInfo | ||
116 | + | ||
117 | +### 响应 | ||
118 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
119 | +响应JSON格式如下所示: | ||
120 | +```json | ||
121 | +{ | ||
122 | + "appType": 0, | ||
123 | + "arrivalTime": 0, | ||
124 | + "attribute": 1, | ||
125 | + "auditingTime": 0, | ||
126 | + "brand": null, | ||
127 | + "brandId": 68, | ||
128 | + "categoryBoList": [], | ||
129 | + "cnAlphabet": "LACOSTESPORTSWEARRENEVAULTSTAR30SRW4107", | ||
130 | + "commentBoWrapper": null, | ||
131 | + "consultBoWrapper": null, | ||
132 | + "createTime": 1445837977, | ||
133 | + "editTime": 1448968188, | ||
134 | + "elements": "", | ||
135 | + "erpProductId": 51164996, | ||
136 | + "expectArrivalTime": null, | ||
137 | + "firstShelveTime": 1448968188, | ||
138 | + "folderId": 0, | ||
139 | + "gender": "2", | ||
140 | + "goodsList": [], | ||
141 | + "id": 294447, | ||
142 | + "instalmentId": 0, | ||
143 | + "isAdvance": "N", | ||
144 | + "isAuditing": "Y", | ||
145 | + "isCollect": "", | ||
146 | + "isDown": "N", | ||
147 | + "isEdit": 1, | ||
148 | + "isHot": "N", | ||
149 | + "isInstalment": "0", | ||
150 | + "isJit": "N", | ||
151 | + "isLimitBuy": "N", | ||
152 | + "isLimited": "N", | ||
153 | + "isNew": "Y", | ||
154 | + "isOutlets": "N", | ||
155 | + "isPayDelivery": "2", | ||
156 | + "isPromotion": 102, | ||
157 | + "isRecommend": "N", | ||
158 | + "isReplenishment": 0, | ||
159 | + "isRetrieval": "N", | ||
160 | + "isSales": "Y", | ||
161 | + "isSpecial": "N", | ||
162 | + "isSeckill": "N", | ||
163 | + "limitProductCode": "", | ||
164 | + "limitProductSku": "", | ||
165 | + "material": "", | ||
166 | + "maxSortId": 6, | ||
167 | + "middleSortId": 44, | ||
168 | + "pattern": "", | ||
169 | + "phrase": "LACOSTE鞋履回归品牌传统,重回1933年RENE LACOSTE先生最爱的网球场风格,在悠久的品牌传承中汲取灵感,将曾经最受欢迎的款式带 回人们的视线。自从René首次用标志性的醒目鳄鱼图案刺绣装饰赛服起,LACOSTE便开始引领运动与时尚的潮流。LACOSTE新品参考了其网球传统,但并非简单的复制,而是遵循了尊重传统、探索未来的理念。该系列精心考虑了现代实用性,轻松而舒适地完成城市到球场的转换。LACOSTE的鞋履系列,“灵感源自网球场,始于1933年”,突显了“生活是最美的运动”的理念,将LACOSTE的功能和优雅的完美 融合,并注入日常生活。鞋面材质:牛皮革,织物面。", | ||
170 | + "productName": "LACOSTE SPORTSWEAR RENE VAULTSTAR 休闲鞋", | ||
171 | + "productPriceBo": null, | ||
172 | + "productTagBoList": [], | ||
173 | + "productUrl": "", | ||
174 | + "promotionBoList": [], | ||
175 | + "salableTime": "0", | ||
176 | + "saleStatus": 0, | ||
177 | + "salesPhrase": "LACOSTE鞋履回归品牌传统,重回1933年RENE LACOSTE先生最爱的网球场风格,在悠久的品牌传承中汲取灵感,将曾经最受欢迎的款式带 回人们的视线。自从René首次用标志性的醒目鳄鱼图案刺绣", | ||
178 | + "seasons": "autumn,winter", | ||
179 | + "sellChannels": "0", | ||
180 | + "seriesId": 0, | ||
181 | + "shelveTime": 1452304200, | ||
182 | + "shopId": 0, | ||
183 | + "showStatus": 0, | ||
184 | + "showWeightAndHeight": false, | ||
185 | + "smallSortId": 147, | ||
186 | + "sortId": 0, | ||
187 | + "status": 1, | ||
188 | + "storage": 46, | ||
189 | + "style": "", | ||
190 | + "supplierId": 0, | ||
191 | + "vipDiscountType": 1 | ||
192 | +} | ||
193 | +``` | ||
194 | + | ||
195 | +## product.queryProductShopCartBySkuIds## | ||
196 | + | ||
197 | +请求方式:POST | ||
198 | +#### 请求参数 | ||
199 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
200 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
201 | +|params|String|否|926992|null|商品sku| | ||
202 | + | ||
203 | +注意,通用的头部没有列出。 | ||
204 | +请求示例 | ||
205 | +http://192.168.102.205:8083/product/product/queryProductShopCartBySkuIds | ||
206 | + | ||
207 | +### 响应 | ||
208 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
209 | +响应JSON格式如下所示: | ||
210 | +```json | ||
211 | +[ | ||
212 | + { | ||
213 | + "brandBo": { | ||
214 | + "brandAlif": "L", | ||
215 | + "brandBanner": "/2014/05/15/10/0154072ddfe3ce6c2aa2df0d0735017596.jpg", | ||
216 | + "brandCertificate": "", | ||
217 | + "brandDomain": "lacoste", | ||
218 | + "brandGroupId": 0, | ||
219 | + "brandIco": "http://img13.static.yhbimg.com/brandLogo/2015/12/09/16/02b2ae27dfc83144d8d03cae48dda7d591.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
220 | + "brandIntro": "<p><span style=\"color: #000000\"> \n 一九二三年Lacoste 创办人,世界网球名将Rene\nLacoste正在波士顿代表法国参加戴维斯杯。当时Lacoste与他的队长打赌,如果他在比赛中获胜,队长便要送他一个鳄鱼皮箱。虽然Lacoste没有赢得皮箱,但是他在比赛中像鳄鱼一样勇猛,故得到“鳄鱼先生”(Le\ncrocodile)的称号。回到法国以后,Lacoste一位朋友为他制作了一条鳄鱼,并贴于他的夹克上,一个流行于世的标志从此诞生。</span></p>\n<p><img alt=\"\" src=\n\"http://img01.static.yohobuy.com/brandContentImg/2011/06/26/15/01a1869bc8bb4fbeb171429287fd16141d.jpg\"\nstyle=\"width: 671px; height: 312px\" /></p>\n<p><span style=\"color: #000000\"> \n 1933年,法国著名网球运动员Rene\nLacoste创立了Lacoste品牌,创立了真正的运动时尚。70年过去了,Lacoste一直坚持它独有的风格,崇尚坚韧,反对炫耀,提倡优雅与个性的发展,轻松舒适,安然惬意而又自由舒展。</span></p>\n<p><img alt=\"\" src=\n\"http://img02.static.yohobuy.com/brandContentImg/2011/06/26/15/020df9b18be32d839f6adb66ade14e1ecb.jpg\"\nstyle=\"width: 660px; height: 462px\" /></p>\n<div><span style=\"color: #000000\"> \n \nLacoste以精致的面料选择,多变的色彩搭配,变化丰富的款式,展现了青春活力和时尚一族的魅力,同时更充分彰显出您的身份和地位。在款式上,LACOSTE推出风格多样的主题和系列。它包括了含有五个主题的俱乐部系列和运动休闲装系列,以及运动系列和中心系列。这使得LACOSTE迸发出一种新的活力,并将汇聚所有追逐时尚的目光。在设计上,沿用了轻松、年轻化的方针,更注重细节,带来浓郁的青春气息。今天这个全世界人为之着迷大半个世纪的法国鳄鱼品牌,仍然保持着年轻、时尚的个性,并依旧吸引着无数自信的、具有卓越穿着品位的人士。</span></div>\n<div> </div>\n<p><span style=\"color: #000000\"> <img alt=\"\" src=\n\"http://buy.yoho.cn/NPIC/2011/6/17/17/d71c50e371ff4eb9808098e1780d2605.jpg\"\nstyle=\"cursor: default\" /></span></p>\n", | ||
221 | + "brandKeyword": "Lacoste,休闲鞋,法国鳄鱼,鳄鱼", | ||
222 | + "brandLevel": 1, | ||
223 | + "brandName": "LACOSTE", | ||
224 | + "brandNameCn": "法国鳄鱼", | ||
225 | + "brandNameEn": "LACOSTE", | ||
226 | + "brandOutline": "Lacoste品牌整体理念——“运动态度,对待生活”(“体育精神、对待生活”)", | ||
227 | + "brandScale": 1, | ||
228 | + "brandStyle": "时尚,街头,潮流,运动,欧美,现代,自然,摩登", | ||
229 | + "brandTemplate": 1, | ||
230 | + "brandTypeId": 1, | ||
231 | + "brandUrl": "www.lacoste.com.cn/", | ||
232 | + "countryFlag": "", | ||
233 | + "countryId": 2, | ||
234 | + "couponsBo": [], | ||
235 | + "hotKeyword": "Lacoste", | ||
236 | + "id": 68, | ||
237 | + "isHot": "N", | ||
238 | + "isIndependent": "N", | ||
239 | + "isPayDelivery": "1", | ||
240 | + "orderBy": 97, | ||
241 | + "parentId": 0, | ||
242 | + "relateBrandIds": "", | ||
243 | + "shelvesBrandTime": 0, | ||
244 | + "staticContentCode": "20120223-110501", | ||
245 | + "status": 1 | ||
246 | + }, | ||
247 | + "goodsBo": { | ||
248 | + "colorCode": "", | ||
249 | + "colorId": 2, | ||
250 | + "colorImage": "http://img11.static.yhbimg.com/goodsimg/2015/12/01/08/01ba9b5248544be78396a2515e5afd0da1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
251 | + "colorName": "黑色", | ||
252 | + "colorValue": "", | ||
253 | + "factorySn": "", | ||
254 | + "firstShelveTime": 1448967276, | ||
255 | + "goodsImagesList": [], | ||
256 | + "goodsName": "黑色", | ||
257 | + "goodsSizeBoList": [], | ||
258 | + "id": 377335, | ||
259 | + "isDefault": "N", | ||
260 | + "isDown": "N", | ||
261 | + "matchExplain": "", | ||
262 | + "productId": 294447, | ||
263 | + "productSkc": 293113, | ||
264 | + "status": 1, | ||
265 | + "viewNum": 0 | ||
266 | + }, | ||
267 | + "goodsSizeBo": { | ||
268 | + "attributeId": "", | ||
269 | + "createTime": 0, | ||
270 | + "goodsId": null, | ||
271 | + "goodsSizeLocated": null, | ||
272 | + "goodsSizeSkuId": null, | ||
273 | + "goodsSizeStorageNum": null, | ||
274 | + "id": 104, | ||
275 | + "orderBy": 810, | ||
276 | + "sizeName": "38码", | ||
277 | + "skuStatus": null, | ||
278 | + "sortId": 0, | ||
279 | + "updateTime": 0 | ||
280 | + }, | ||
281 | + "productActivityId": null, | ||
282 | + "productBasicInfoBo": { | ||
283 | + "arrivalTime": 0, | ||
284 | + "attribute": 1, | ||
285 | + "auditingTime": 0, | ||
286 | + "brandId": 68, | ||
287 | + "cnAlphabet": "LACOSTESPORTSWEARRENEVAULTSTAR30SRW4107", | ||
288 | + "createTime": 1445837977, | ||
289 | + "editTime": 1448968188, | ||
290 | + "elements": "", | ||
291 | + "erpProductId": 51164996, | ||
292 | + "expectArrivalTime": null, | ||
293 | + "firstShelveTime": 1448968188, | ||
294 | + "gender": "2", | ||
295 | + "id": 294447, | ||
296 | + "instalmentId": 0, | ||
297 | + "isAdvance": "N", | ||
298 | + "isAuditing": "Y", | ||
299 | + "isCollect": "", | ||
300 | + "isDown": "N", | ||
301 | + "isHot": "N", | ||
302 | + "isInstalment": "0", | ||
303 | + "isJit": "N", | ||
304 | + "isLimitBuy": "N", | ||
305 | + "isLimited": "N", | ||
306 | + "isNew": "Y", | ||
307 | + "isOutlets": "N", | ||
308 | + "isPayDelivery": "1", | ||
309 | + "isPromotion": 102, | ||
310 | + "isRecommend": "N", | ||
311 | + "isReplenishment": 0, | ||
312 | + "isRetrieval": "N", | ||
313 | + "isSales": "Y", | ||
314 | + "isSpecial": "N", | ||
315 | + "isSeckill": "Y", | ||
316 | + "material": "", | ||
317 | + "maxSortId": 6, | ||
318 | + "middleSortId": 44, | ||
319 | + "pattern": "", | ||
320 | + "phrase": "LACOSTE鞋履回归品牌传统,重回1933年RENE LACOSTE先生最爱的网球场风格,在悠久的品牌传承中汲取灵感,将曾经最受欢迎的款式带 回人们的视线。自从René首次用标志性的醒目鳄鱼图案刺绣装饰赛服起,LACOSTE便开始引领运动与时尚的潮流。LACOSTE新品参考了其网球传统,但并非简单的复制,而是遵循了尊重传统、探索未来的理念。该系列精心考虑了现代实用性,轻松而舒适地完成城市到球场的转换。LACOSTE的鞋履系列,“灵感源自网球场,始于1933年”,突显了“生活是最美的运动”的理念,将LACOSTE的功能和优雅的完美 融合,并注入日常生活。鞋面材质:牛皮革,织物面。", | ||
321 | + "productName": "LACOSTE SPORTSWEAR RENE VAULTSTAR 休闲鞋", | ||
322 | + "productUrl": "", | ||
323 | + "salableTime": "0", | ||
324 | + "salesPhrase": "LACOSTE鞋履回归品牌传统,重回1933年RENE LACOSTE先生最爱的网球场风格,在悠久的品牌传承中汲取灵感,将曾经最受欢迎的款式带 回人们的视线。自从René首次用标志性的醒目鳄鱼图案刺绣", | ||
325 | + "seasons": "autumn,winter", | ||
326 | + "seriesId": 0, | ||
327 | + "shelveTime": 1452304200, | ||
328 | + "shopId": 0, | ||
329 | + "smallSortId": 147, | ||
330 | + "sortId": 0, | ||
331 | + "status": 1, | ||
332 | + "storage": 46, | ||
333 | + "style": "", | ||
334 | + "supplierId": 0 | ||
335 | + }, | ||
336 | + "productPriceBo": { | ||
337 | + "formatMarketPrice": "¥591.00", | ||
338 | + "formatSalesPrice": "¥590.00", | ||
339 | + "formatSpecialPrice": "¥0.00", | ||
340 | + "marketPrice": 591, | ||
341 | + "productCoinNum": 0, | ||
342 | + "productId": 294447, | ||
343 | + "productSkn": 51164996, | ||
344 | + "salesPrice": 590, | ||
345 | + "specialPrice": 0, | ||
346 | + "studentCoinNum": null, | ||
347 | + "studentCoinRate": 0, | ||
348 | + "studentDiscountRate": 0.9, | ||
349 | + "studentPrice": 189, | ||
350 | + "seckillPrice": 100, | ||
351 | + "vipDiscount": 1, | ||
352 | + "vipDiscountType": 3, | ||
353 | + "vipPrice": "0.00", | ||
354 | + "vipPrices": [], | ||
355 | + "yohoCoinNum": 0 | ||
356 | + }, | ||
357 | + "storageBo": { | ||
358 | + "createTime": 0, | ||
359 | + "erpSkuId": 926992, | ||
360 | + "frozenNum": 0, | ||
361 | + "goodsDimensionId": 104, | ||
362 | + "goodsId": 377335, | ||
363 | + "marketPrice": 590, | ||
364 | + "productId": 294447, | ||
365 | + "productSkn": null, | ||
366 | + "salePrice": 590, | ||
367 | + "salesNum": 0, | ||
368 | + "status": 1, | ||
369 | + "storageNum": 12, | ||
370 | + "seckillStorage": 5 | ||
371 | + "storeroom": 1, | ||
372 | + "updateTime": 0 | ||
373 | + } | ||
374 | + } | ||
375 | +] | ||
376 | +``` | ||
377 | + | ||
378 | +## product.decreaseSeckillStorageBySkuId## | ||
379 | + | ||
380 | +请求方式:POST | ||
381 | +#### 请求参数 | ||
382 | +{ | ||
383 | + "updateStorageRequest": { | ||
384 | + "skuId": 926992, | ||
385 | + "storageNum": 1 | ||
386 | + } | ||
387 | +} | ||
388 | + | ||
389 | +注意,通用的头部没有列出。 | ||
390 | +请求示例 | ||
391 | +http://192.168.102.205:8083/product/product/decreaseSeckillStorageBySkuId | ||
392 | + | ||
393 | +### 响应 | ||
394 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
395 | +响应JSON格式如下所示: | ||
396 | +```json | ||
397 | +{ | ||
398 | + "code": 200, | ||
399 | + "success": true | ||
400 | +} | ||
401 | +``` | ||
402 | + |
-
Please register or login to post a comment