Overview
Event Types
- contact
- store
- account
store.deactivated
This event is triggered when a store is deactivated.
{
"type": "store.deactivated",
"data": {
"store": {
"id": "clxvu9l6l000001p27bdm9ydk",
"name": "台北101旗艦店",
"logo": "https://imagedelivery.net/zdm_0V2jGvo4F5LeqaPJDQ/5178a7f8-661f-46d7-d852-0b72a2242100/public",
"externalId": "tpe-101"
},
"timestamps": {
"deactivatedAt": "2024-06-18T18:18:18.000Z"
},
"timestampsMs": {
"deactivatedAt": 1718734698000
}
}
}
Event Body Fields
The request event body is a JSON object that contains the following fields:
store.deactivated
The object containing the event data.
Hide data
Hide data
The latest data of the deactivated store.
Show store
Show store
The permanent ID of the store in ChatBrick.
The URL of the store’s logo.
We don’t recommend embedding this image in any webpage because it’s not designed for that purpose.
If you need to display this image on a webpage, please download it when you receive the event and serve it from your own server to ensure it works as expected.
The external ID is configured by the brand and is usually mapped to the brand’s internal system.
Timestamps in ISO 8601 format.
Show timestamps
Show timestamps
The timestamp of when the store was deactivated.
{
"type": "store.deactivated",
"data": {
"store": {
"id": "clxvu9l6l000001p27bdm9ydk",
"name": "台北101旗艦店",
"logo": "https://imagedelivery.net/zdm_0V2jGvo4F5LeqaPJDQ/5178a7f8-661f-46d7-d852-0b72a2242100/public",
"externalId": "tpe-101"
},
"timestamps": {
"deactivatedAt": "2024-06-18T18:18:18.000Z"
},
"timestampsMs": {
"deactivatedAt": 1718734698000
}
}
}
{
"type": "store.deactivated",
"data": {
"store": {
"id": "clxvu9l6l000001p27bdm9ydk",
"name": "台北101旗艦店",
"logo": "https://imagedelivery.net/zdm_0V2jGvo4F5LeqaPJDQ/5178a7f8-661f-46d7-d852-0b72a2242100/public",
"externalId": "tpe-101"
},
"timestamps": {
"deactivatedAt": "2024-06-18T18:18:18.000Z"
},
"timestampsMs": {
"deactivatedAt": 1718734698000
}
}
}