Appearance
商品变更推送
| 拥有此API的权限集并订阅此消息推送 |
|---|
| 商品管理-查询 |
推送参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| type | 是 | String | 推送类型:goods_change |
| app_id | 是 | String | 店铺id |
| message_id | 是 | String | 消息ID |
| retry_times | 是 | int | 重试次数 |
| xe_data | 是 | Object | 业务数据 |
xe_data 参数结构
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| app_id | 是 | String | 店铺id |
| action | 是 | String | 事件类型:insert-商品创建通知, update-商品变更通知 |
| title | 是 | String | 商品变更推送标题 |
| resource_id | 是 | String | 资源id |
| resource_type | 是 | string | 资源类型 |
| content | 是 | String | 商品内容说明 |
特殊说明 推送条件:在小鹅云订阅了商品变更推送功能后,当一个商品信息变更时触发。
推送解密后示
<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>