文档中心 > 消息类目 > 零售通POS开放平台消息

alibaba_lst_InventorySync (商品库存修改同步消息)

消息产生条件

零售通POS修改商品库存(新建商品,商品入库,库存盘点,商品详情直接改库存,删除库存)后,零售通即会向接入商消息推送。
删除库存,库存删除后,售卖不维护库存值,即库存不进行增减。(缺省情况是维护库存值)。

消息属性

名称 类型 是否必须 示例值 描述
data_json String 可选 { "inventoryId": "1234567", "isvInventoryId": "1234567", "goodsId": "123", "isvGoodsId": "123", "userId": "1", "transQuantity ": "2", "operateType": "stockentering", "gmtCreate": "1392711616045", "appKey": "23669885", "source": "sixun", "deviceType": 0, "hardwareId": "123456789", "brand": "思讯", "model": "POS桌面端" } 消息体内容JSON串
msg_biz_id String 可选 alibaba_lst_InventorySync|1|1234567 消息业务ID

消息示例

{
	"msg_biz_id":"alibaba_lst_InventorySync|1|1234567",
	"data_json":"{   \"inventoryId\": \"1234567\",   \"isvInventoryId\": \"1234567\",   \"goodsId\": \"123\",   \"isvGoodsId\": \"123\",   \"userId\": \"1\",   \"transQuantity \": \"2\",   \"operateType\": \"stockentering\",   \"gmtCreate\": \"1392711616045\",   \"appKey\": \"23669885\",   \"source\": \"sixun\",   \"deviceType\": 0,   \"hardwareId\": \"123456789\",   \"brand\": \"思讯\",   \"model\": \"POS桌面端\" }"
}

消息工具

如何获得此消息

返回
顶部