事件订阅 / 商品与库存

修改商品

修改商品后,查询商品详情并发送通知。

字段值说明
eventModule3事件模块编号
eventType302具体事件编号

事件结构

名称说明类型
Body 参数
id可选

消息 ID,作为接收端幂等键;同一次业务通知的重试使用同一消息 ID

string
clinicId可选

授权门店 ID

string
eventModule可选

枚举:3

integer
eventType可选

枚举:302

integer
eventName可选

枚举:修改商品

string
callbackCount可选
integer

结构示例

json
{
  "id": "string",
  "clinicId": "string",
  "eventModule": 3,
  "eventType": 302,
  "eventName": "修改商品",
  "callbackCount": 0,
  "eventData": {
    "id": "string",
    "shortId": "string",
    "name": "string",
    "specification": "string",
    "typeId": 0,
    "typeName": "string",
    "combineType": 0,
    "pieceNum": 5,
    "pieceUnit": "片",
    "packageUnit": "盒",
    "lastModified": "2022-05-13 12:22:56",
    "status": 1,
    "disableSell": 0
  }
}

返回事件目录

ABC 开放平台 · 诊所管家

如有疑问,请扫码加入企业微信群咨询。

企业微信群二维码
没有匹配结果

诊所管家