文档中心 > API类目 > 淘宝买菜

qimen.taobao.freshx.inventory.shortage.notify (商品库存预警)

商品库存预警

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
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"}

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部