Product in-stock message

Updated at:

This message is sent when a product's status changes to in stock.

Topic

Kafka topic

product

Message type

Ordered message

Message partition key

productId

Message body

Name

Type

Description

Example value

event

String

Message type

ProductInGroup

body

purchaserId

String

Purchaser ID

PID220****3

productId

String

Product ID

8247129801781****2

Example

{
    "event": "ProductInGroup",
    "body": {
        "purchaserId": "PID220****3",
        "productId": "8247129801781****2",
    }
}