Product status change message
Updated at:
This message is sent when a channel partner lists a product (status: `Online`) or delists a product (status: `Offline`).
Topic
Kafka topic | product |
Message type | Ordered message |
Message partition key | productId |
Message body
Name | Type | Description | Example value | |
event | String | Message type | ProductStatusUpdated | |
body | purchaserId | String | Purchaser ID | PID22000006 |
productId | String | Product ID | 660062209131806728 | |
beforeProductStatus | String | The product status before the change. Valid values: `Online`: Listing `Offline`: Delisting | Online | |
afterProductStatus | String | The product status after the change. Valid values: `Online`: Listing `Offline`: Delisting `Deleted`: The product is deleted from Taobao. | Offline | |
Example
{
"event":"ProductStatusUpdated",
"body":{
"purchaserId":"PID22000006",
"productId":"660062209131806728",
"beforeProductStatus":"Online",
"afterProductStatus":"Offline"
}
}Change history
Time of change | Change summary | Operation |
Is this page helpful?