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

alibaba_lst_GoodsSync (商品同步消息)

消息产生条件

零售通POS维护商品(新建商品,修改商品,删除商品,批量导入商品)后,零售通即会向接入商消息推送。
新建商品过程中,LST除了推送商品同步消息外,还会推送库存修改同步消息。ISV端需保证商品同步消息先消费后,再消费库存修改同步消息。

消息属性

名称 类型 是否必须 示例值 描述
data_json String 可选 { "userId": "1", "goodsId": "123", "isvGoodsId": "123", "barCode": "1345", "title": "百事可乐", "categoryId": "99", "isvCategoryId": "01", "gmtModified": "13927116160333", "gmtCreate": "1392711616045", "originalPrice": "150", "reservePrice": "255", "shortcutCode": "11", "shotTitle": "BS", "spec": "ml", "unit": "瓶", "status": "on", "pricingMode": "c", "appKey": "23669885", "source": "sixun", "deviceType": 0, "hardwareId": "123456789", "brand": "思讯", "model": "POS桌面端" } 消息体数据JSON串
msg_biz_id String 可选 alibaba_lst_GoodsSync|1|123 业务消息ID

消息示例

{
	"msg_biz_id":"alibaba_lst_GoodsSync|1|123",
	"data_json":"{ \"userId\": \"1\", \"goodsId\": \"123\", \"isvGoodsId\": \"123\", \"barCode\": \"1345\", \"title\": \"百事可乐\", \"categoryId\": \"99\", \"isvCategoryId\": \"01\", \"gmtModified\": \"13927116160333\", \"gmtCreate\": \"1392711616045\", \"originalPrice\": \"150\", \"reservePrice\": \"255\", \"shortcutCode\": \"11\", \"shotTitle\": \"BS\", \"spec\": \"ml\", \"unit\": \"瓶\", \"status\": \"on\", \"pricingMode\": \"c\", \"appKey\": \"23669885\", \"source\": \"sixun\", \"deviceType\": 0, \"hardwareId\": \"123456789\", \"brand\": \"思讯\", \"model\": \"POS桌面端\" }"
}

消息工具

如何获得此消息

返回
顶部