商品编辑消息

商品变更消息:渠道商家编辑商品标题、主图、图片列表、详情地址时会发送此消息

Topic

Kafka topic

product

消息类型

顺序消息

消息分区键

productId

消息体

名称

类型

描述

示例值

event

String

消息类型

ProductEdited

body

purchaserId

Long

采购方ID

PID22****06

productId

Long

商品ID

6600574030******09

beforeProduct

EditableProduct

变更前商品信息

afterProduct

EditableProduct

变更后商品信息

示例

{
    "event":"ProductEdited",
    "body":{
        "purchaserId":"PID22****06",
        "productId":"6600574030******09",
        "beforeProduct":{
            "title":"西安/成都限购测试商品-yh-请勿下单供应商编辑标题",
            "picUrl":"https://linkedmall-public-stage.oss-cn-hangzhou.aliyuncs.com/moda/10200001/material/Image/b49d61dd-413c-40ef-b9ee-74c2d481d152-16947******12.jpg",
            "images":[
                "//img.alicdn.com/imgextra/i2/2214281521988/O1CN01mBXX711QYYFAxfNiX_!!22142******88.jpg",
                "https://linkedmall-public-stage.oss-cn-hangzhou.aliyuncs.com/moda/10200001/material/Image/5f3b177a-70e9-418c-ab70-c5a7541aff2c-16946******35.jpg"
            ],
            "descPath":"http://linkedmall-public-stage.oss-cn-hangzhou.aliyuncs.com/product/desc/660057403063402509/6718186813******20",
            "extendPropertyList": [
              {
                "key": "ss_picture_scene",
                "value": "//img.alicdn.com/imgextra/i4/6000******29/O1CN01tvxOM21nl8L2f3VOE_!!6000000005129-0-at.jpg"
              },
              {
                "key": "ss_picture_white_background",
                "value": "//img.alicdn.com/imgextra/i2/600******63/O1CN01BiM5u527DVZnkOXsh_!!6000000007763-2-at.png"
              },
              {
                  "key": "multipleBuyLimit",
                  "value": "3"
              }
            ],
            "properties": [
              {
                  "propertyId": 122276217,
                  "text": "难易程度",
                  "values": [
                      {
                          "valueId": 118685935,
                          "valueName": "有点难度"
                      }
                  ]
              },
              {
                  "propertyId": 184946502,
                  "text": "是否带花苞/花箭",
                  "values": [
                      {
                          "valueId": 21958,
                          "valueName": "是"
                      }
                  ]
              },
              {
                  "propertyId": 1627207,
                  "text": "颜色分类",
                  "values": [
                      {
                          "valueId": 4266701,
                          "valueName": "米白色"
                      },
                      {
                          "valueId": 4950473,
                          "valueName": "桔红色"
                      },
                      {
                          "valueId": 28866,
                          "valueName": "藏青色"
                      }
                  ]
              }
          ],
          "taxRate": 600,
          "taxCode": 30402030000******00
        },
        "afterProduct":{
            "title":"西安/成都限购测试商品-yh-请勿下单供应商编辑标题",
            "picUrl":"https://linkedmall-public-stage.oss-cn-hangzhou.aliyuncs.com/moda/10200001/material/Image/b49d61dd-413c-40ef-b9ee-74c2d481d152-16947******12.jpg",
            "images":[
                "//img.alicdn.com/imgextra/i2/2214281521988/O1CN01mBXX711QYYFAxfNiX_!!22142******88.jpg",
                "https://linkedmall-public-stage.oss-cn-hangzhou.aliyuncs.com/moda/10200001/material/Image/5f3b177a-70e9-418c-ab70-c5a7541aff2c-16946******35.jpg"
            ],
            "descPath":"http://linkedmall-public-stage.oss-cn-hangzhou.aliyuncs.com/product/desc/660030744201396343/6718325283******92",
             "extendPropertyList": [
              {
                "key": "ss_picture_scene",
                "value": "//img.alicdn.com/imgextra/i4/6000******29/O1CN01tvxOM21nl8L2f3VOE_!!6000000005129-0-at.jpg"
              },
              {
                "key": "ss_picture_white_background",
                "value": "//img.alicdn.com/imgextra/i2/600******63/O1CN01BiM5u527DVZnkOXsh_!!6000000007763-2-at.png"
              },
              {
                  "key": "multipleBuyLimit",
                  "value": "3"
              }
            ],
            "properties": [
              {
                  "propertyId": 122276217,
                  "text": "难易程度",
                  "values": [
                      {
                          "valueId": 118685935,
                          "valueName": "有点难度"
                      }
                  ]
              },
              {
                  "propertyId": 184946502,
                  "text": "是否带花苞/花箭",
                  "values": [
                      {
                          "valueId": 21958,
                          "valueName": "是"
                      }
                  ]
              },
              {
                  "propertyId": 1627207,
                  "text": "颜色分类",
                  "values": [
                      {
                          "valueId": 4266701,
                          "valueName": "米白色"
                      },
                      {
                          "valueId": 4950473,
                          "valueName": "桔红色"
                      },
                      {
                          "valueId": 28866,
                          "valueName": "藏青色"
                      }
                  ]
              }
          ],
          "taxRate": 600,
          "taxCode": 30402030000******00
        }
    }
}

变更历史

变更时间

变更内容概要

操作

2023.09.11

初始化

新增