SKU creation message
Updated at:
This message is sent when a channel merchant creates a new SKU.
Topic
Kafka topic | product |
Message type | ordered message |
Partition key | productId |
Message body
Parameter | Type | Description | Example | |
event | String | The event type. | SkuCreated | |
body | purchaserId | String | The unique ID of the purchaser. | PID22000006 |
sku | Details of the created SKU. | |||
Example
{
"event":"SkuCreated",
"body":{
"purchaserId":"PID22000006",
"sku":{
"shopId":"21000017",
"productId":"660057403063402509",
"skuId":"660057403063402511",
"title":"Light Gray",
"picUrl":"//img.alicdn.com/imgextra/i2/2214281521988/O1CN01mBXX711QYYFAxfNiX_!!2214281521988.jpg",
"skuSpecs":[
{
"keyId":1,
"key":"Color",
"valueId":1001,
"value":"Light Gray"
}
],
"skuSpecsCode":"1:1001",
"skuStatus":"Online",
"canSell":true,
"quantity":-1,
"fuzzyQuantity":"in stock",
"price":8,
"markPrice":888800
}
}
}Change history
Date | Change summary | Actions |
2023.09.11 | Initialization | Added |
Is this page helpful?