Modifier Availability

🧾 Description

This document describes the modifier_availability event that Blend sends to delivery platforms
to show or hide a specific modifier on a merchant's menu.

This is useful when a product is temporarily out of stock or being brought back into availability.


πŸ” Trigger

This event is triggered when a merchant or admin updates the availability status of an modifier.


🧭 How to Change modifier Availability from Dashboard

Use the Blend dashboard to change modifier visibility with no API calls.

πŸ” Step 1: Login

Go to https://bm-staging.tryblend.net/
Login using your Blend credentials.


πŸ“‹ Step 2: Open the Menu Page

From the sidebar, go to Menu


πŸ” Step 3: Enter the Modifiers Tab

Select the menu you want to edit and click on the Modifiers tab.


✏️ Step 4: Edit Modifier

Find the modifier you want to update and click Edit.


πŸ“¦ Step 5: Manage Availability

On the upper right of the modifier form, you will see a section called Availability.
Click the Edit icon inside that section.

  • Toggle the modifier availability using the switch
  • Click Save

πŸš€ Step 6: Blend Pushes Event

Blend will automatically fire the modifier_availability event to the delivery app’s webhook.


🧩 JSON Payload

{
  "event": "modifier_availability",
  "event_time": "2025-01-01 00:00:00",
  "branch_id": "14589",
  "payload": {
    "modifier_id": "1",
    "is_available": false
  }
}

πŸ—‚ Field Descriptions

FieldDescription
eventAlways "modifier_availability" β€” type of event
event_timeTimestamp of when the toggle action occurred
branch_idThe branch that owns the modifier
payload.modifier_idThe internal or shared ID of the modifier being updated
payload.is_availableBoolean: true to show the modifier, false to hide it

🧠 Behavior

  • If is_available = false β†’ Blend will instruct the delivery app to hide this modifier.
  • If is_available = true β†’ Blend will make the modifier visible again on the menu.
  • This does not delete or remove the modifier, only toggles its availability.

πŸ”§ Example Use Cases

  • Branch runs out of shawarma β†’ Merchant disables it
  • Branch re-stocks drinks β†’ Admin enables the drink modifier
  • Scheduled product availability β†’ automation triggers change

βœ… Notes

  • This event does not update the full modifier object β€” only its visibility
  • If the delivery app does not support modifier-level toggling, this event may be ignored
  • This is a lightweight payload, perfect for real-time menu updates