CustomerSegmentAssignedv2.0.0
Event represents when a customer segment has been set
Details
This event is emitted after an update on the customer segment.
It is consumed by the Billing Service 2.1 through a POST /order/create_default call to create default orders.
Consumer / Producer Diagram
Event Example
CustomerSegmentAssigned Schema (json)
{
"version": "0",
"id": "e6706876-18e0-ee49-7e57-ddc34660349e",
"detail-type": "CustomerSegmentAssigned",
"source": "flatsy.service.customer",
"account": "932239071841",
"time": "2023-11-09T17:17:33Z",
"region": "eu-west-3",
"resources": [],
"detail": {
"metadata": {
"application": "system",
"service": "flatsy.service.customer",
"actor": "system",
"actorID": "system",
"entity": "Customer",
"entityID": "6fe103df-e650-4058-8764-79a70136e373",
"correlationID": null,
"reasonForFailure": null,
"requestID": "b3a56d73-5310-4a9f-964f-4d18b3fc7bd4"
},
"data": {"customerSegment": "LANDLORD_PUBLIC"}
}
}
Edit this pageLast updated on 2024/1/22
