商品库存预警
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| itemId | String | 必须 | 123 | 商品id | |
| storeId | String | 必须 | 123 | 门店id | |
| activityId | String | 必须 | 123 | 活动id | |
| skuId | String | 必须 | 123 | sku id | |
| sellablequantity | String | 必须 | 10 | 剩余库存 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| data | Boolean | true | 处理是否成功 |
| success | Boolean | true | 接口调用是否成功 |
| errorCode | String | success | 错误码 |
| errorMessage | String | success | 错误信息 |
{"itemId":"123","activityId":"123","sellablequantity":"10","storeId":"123","skuId":"123"}
{
"data":true,
"success":true,
"errorCode":"success",
"errorMessage":"success"
}
{"success":"false","errorMessage":"Illegal request","errorCode":"sign-check-failure"}
| 错误码 | 错误描述 | 解决方案 |
|---|