当发送方大量发送价库更新请求时,后台通过异步方式消费,并将消费结果通过队列方式回调给订阅方
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
item_id | Number | 可选 | 111 | 商品id。itemId和outProductId至少填写一个 | |
out_product_id | String | 可选 | 123 | 商品 外部商家编码。itemId和outProductId至少填写一个 | |
skus | PontusTravelItemSkuInfo [] | 可选 |
|
商品日历价格库存套餐 | |
|
|||||
modify_type | Number | 必须 | 0 | 价库变更类型,0=更新价格&库存,1=仅更新价格,2=仅更新库存 | |
modify_result | Boolean | 必须 | true | 更新结果 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
item_id | String | 111 | 商品id |
error_code | String | isv.request-failed | 请求失败错误码 |
error_message | String | 请求失败 | 请求失败消息 |
success | Boolean | true | 请求成功标志 |
{"skus":[{"outer_sku_id":"1111","prices":[{"date":"2015-09-19 09:42:24","price":123,"price_type":1,"stock":123,"operation":1,"outer_price_id":"123"}]}],"item_id":111,"modify_result":true,"modify_type":0,"out_product_id":"123"}
{ "item_id":"111", "error_code":"isv.request-failed", "error_message":"请求失败", "success":true }
{"error_message":"Illegal request","success":"false","error_code":"sign-check-failure"}
错误码 | 错误描述 | 解决方案 |
---|