SKU edit message

Updated at:

A channel merchant sends a Stock Keeping Unit (SKU) edit message when they edit the title or image of an SKU.

Topic

Kafka topic

product

Message type

Ordered message

Message partition key

productId

Message body

Name

Type

Description

Example value

event

String

The message type.

SkuEdited

body

purchaserId

String

The purchaser ID.

PID22****06

productId

String

The product ID.

6600574030******09

skuId

String

SkuId

6600574030******10

beforeSku

EditableSku

The SKU before the edit.

afterSku

EditableSku

The SKU after the edit.

Example

{
    "event":"SkuEdited",
    "body":{
        "purchaserId":"PID22000006",
        "productId":"660057403063402509",
        "skuId":"660057403063402510",
        "beforeSku":{
            "title":"Single-SKU product why111 supplier modification message validation second time",
            "picUrl":"https://linkedmall-public-stage.oss-cn-hangzhou.aliyuncs.com/moda/10200001/material/Image/7710d110-75bb-474f-9ee4-d22acd46450d-1694******77.jpg",
            "properties": [
              {
                "propertyId":1627207,
                "propertyText":"Color classification",
                "valueId":4266701,
                "valueText": "Off-white",
                "valueAlias": "New model"
              }
            ]
        },
        "afterSku":{
            "title":"Single-SKU product why111 supplier modification message validation third time",
            "picUrl":"https://linkedmall-public-stage.oss-cn-hangzhou.aliyuncs.com/moda/10200001/material/Image/7710d110-75bb-474f-9ee4-d22acd46450d-1694******77.jpg",
            "properties": [
              {
                "propertyId":1627207,
                "propertyText":"Color classification",
                "valueId":4266701,
                "valueText": "Off-white",
                "valueAlias": "New model"
              }
            ]
        }
    }
}

Change history

Modification Time

Change Summary

Action

2023-09-11

Initialization.

Added