Showing
1 changed file
with
33 additions
and
0 deletions
@@ -435,3 +435,36 @@ | @@ -435,3 +435,36 @@ | ||
435 | } | 435 | } |
436 | 436 | ||
437 | ``` | 437 | ``` |
438 | + | ||
439 | +## 批量商品变价 | ||
440 | + | ||
441 | +> 接口名: '/product/batchUpdateProductPrice' | ||
442 | + | ||
443 | +### 入参 例子:[{"product_skn": 50000060, "sales_price" :211.22, "vip_discount_type":1, "founder":9278, "return_coin":88, "vip_price":99}, | ||
444 | +{"product_skn": 50000063, "sales_price" :211.22, "vip_discount_type":1, "founder":9278, "return_coin":88, "vip_price":99}] | ||
445 | + | ||
446 | +------------------------- | ||
447 | +|属性名称|类型|例子|说明| | ||
448 | +|--------|----|----|----| | ||
449 | +|product_skn|number|5000060|商品的Skn| | ||
450 | +|sales_price|float|22.22|销售价格| | ||
451 | +|vip_discount_type|number|5000060|商品的Skn| | ||
452 | +|founder|number|2262|操作人标识| | ||
453 | +|return_coin|number|200|返回币数| | ||
454 | +|vip_price|float|22.33|vip价格 vipDiscountType 为4时必填| | ||
455 | +|vip1_price|float|22.33|折扣类型为5时必填| | ||
456 | +|vip2_price|float|22.33|折扣类型为5时必填| | ||
457 | +|vip3_price|float|22.33|折扣类型为5时必填| | ||
458 | +--------------------- | ||
459 | + | ||
460 | +### 返回 (备注 :code 为200代表成功 ) | ||
461 | + | ||
462 | +``` json | ||
463 | +{ | ||
464 | + "code": 200, | ||
465 | + "data": [], | ||
466 | + "md5": "d751713988987e9331980363e24189ce", | ||
467 | + "message": "Product Price update success." | ||
468 | +} | ||
469 | + | ||
470 | +``` |
-
Please register or login to post a comment