Skip to content

商品变更推送

拥有此API的权限集并订阅此消息推送
商品管理-查询

推送参数

参数名必选类型说明
typeString推送类型:goods_change
app_idString店铺id
message_idString消息ID
retry_timesint重试次数
xe_dataObject业务数据

xe_data 参数结构

参数名必选类型说明
app_idString店铺id
actionString事件类型:insert-商品创建通知, update-商品变更通知
titleString商品变更推送标题
resource_idString资源id
resource_typestring资源类型
contentString商品内容说明

特殊说明 推送条件:在小鹅云订阅了商品变更推送功能后,当一个商品信息变更时触发。

推送解密后示

<doc>
    <app_id>appAKLWLitnxxxx</app_id>
    <message_id>20221012_xxxxxxxx</message_id>
    <retry_times>0</retry_times>
    <type>goods_change</type>
    <xe_data>
        <app_id>appAKLWLitnxxxx</app_id>
        <resource_id>v_6346329ce4b050af23c3xxxx</resource_id>
        <title>商品变更通知</title>
        <action>update</action>
        <content>商品名称:123,商品资源ID:v_6346329ce4b050af23c3xxxx,商品信息发生变更,请知悉。</content>
    </xe_data>
</doc>