Skip to main content
Sales channels represent the delivery aggregators (Uber Eats, Rappi, iFood, etc.) configured inside Fire for each store. If your integration publishes menus to aggregators or injects orders, you need to map Fire channel IDs to the corresponding aggregator IDs.

Fetch channels

GET /v1/sales-channels
Authorization: Bearer <your_api_key>
Example response:
{
  "channels": [
    {
      "id": "channel_abc123",
      "name": "Uber Eats",
      "type": "uber_eats",
      "store_id": "store_xyz"
    },
    {
      "id": "channel_def456",
      "name": "Rappi",
      "type": "rappi",
      "store_id": "store_xyz"
    }
  ]
}

Channel mapping

When Fire emits a publication event, the payload includes a channels array with Fire channel IDs. Use your stored mapping to resolve which aggregator each ID corresponds to.
{
  "event": "menu.updated",
  "data": {
    "channels": ["channel_abc123", "channel_def456"],
    ...
  }
}
Store the mapping at startup and refresh it when needed.

When to re-fetch

Re-fetch the channel list:
  • On startup
  • When you encounter an unknown channel_id in a webhook event
  • On a scheduled interval (recommended: every 24 hours)