product.availability_changed is emitted when a product’s availability changes — for example, when a restaurant marks a product as out of stock or re-activates it. It controls whether the product appears in the menu and is available for purchase.
When the change affects multiple stores, Fire emits a single event with all affected stores listed in targets.
Payload
Fields
data
| Field | Type | Description |
|---|---|---|
account | string | Account identifier — required by downstream systems |
country | string | Country identifier — required by downstream systems |
productId | string | Product identifier |
vendorId | string | Brand identifier |
active | boolean | true to activate, false to deactivate |
targets | object[] | Stores where the availability change must be applied |
data.targets[n]
| Field | Type | Description |
|---|---|---|
storeId | string | Store identifier |
channelId | string | Sales channel UUID |
Behavior
Settingactive: false hides the product from the menu and marks it as unavailable for purchase. Setting active: true restores it.
This event does not modify any other product data — name, price, images, and modifiers remain unchanged.

