Event Types
The following market-related events are available:market.update- Triggered when a market is created or modifiedmarket.deleted- Triggered when a market is deleted
Market Updated Event
Themarket.update event is triggered when a market is created or modified.
Event Structure
Field Descriptions
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the market |
name | string | Display name of the market |
slug | string | URL-friendly identifier |
country_codes | string array | Array of Two-letter ISO country code |
locale | string | Locale code (language-COUNTRY) |
currency_code | string | Three-letter ISO currency code |
active | boolean | Whether the market is active |
updated_at | string | Last update timestamp |
created_at | string | Creation timestamp |
Market Deleted Event
Themarket.deleted event is triggered when a market is removed from the system.
Event Structure
Field Descriptions
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier of the deleted market |
slug | string | Unique slug of the deleted market |