Skip to main content

Payload

{
  "event": {
    "id": "evt_abc123",
    "type": "store.updated",
    "createdAt": "2025-01-15T14:30:00Z",
    "timezone": "America/Guayaquil"
  },
  "data": {
    "account": "1",
    "country": "6",
    "stores": [
      {
        "name": "New store 805",
        "active": true,
        "storeId": 805,
        "vendorId": 16,
        "storeCode": "T005",
        "schedulesByChannel": [
          {
            "channelId": "0F049503-85CF-E511-80C6-000D3A3261F3",
            "schedules": [
              {
                "day": "FRIDAY",
                "endTime": "22:30",
                "startTime": "10:00"
              }
            ]
          }
        ],
        "taxesInfo": {
          "taxRate": 0,
          "vatRatePercentage": 12
        },
        "contactInfo": {
          "phone": "23955400",
          "address": "PICHINCHA / QUITO / INAQUITO / AV. AMERICA N37-288 Y VILLALENGUA"
        },
        "deliveryInfo": {
          "cookTime": "10",
          "deliveryId": 46356,
          "minimumOrder": "0.00",
          "shippingCost": 1.99
        },
        "locationInfo": {
          "city": "QUITO",
          "latitude": "-0.17250869436401206",
          "longitude": "-78.49125266075134"
        },
        "storeChannels": [
          "0F049503-85CF-E511-80C6-000D3A3261F3"
        ]
      }
    ],
    "channels": [
      {
        "active": true,
        "channel": "Llevar",
        "vendorId": 16,
        "channelId": "0E049503-85CF-E511-80C6-000D3A3261F3",
        "channelReferenceName": "Llevar PICKUP",
        "services": [
          {
            "code": "DELIVERY",
            "serviceId": "3",
            "referenceName": "Domicilios Llevar"
          },
          {
            "code": "TAKEAWAY",
            "serviceId": "1",
            "referenceName": "Retiro en tienda"
          }
        ]
      }
    ]
  }
}
store.updated covers both creation and updates — treat it as an upsert. To remove a store, Fire emits a separate store.deleted event.

Fields

data

FieldTypeDescription
accountstringAccount identifier — required by downstream systems
countrystringCountry identifier — required by downstream systems
storesobject[]Store configurations
channelsobject[]Channel configurations

data.stores[n]

FieldTypeDescription
namestringStore display name
activebooleanWhether the store is active
storeIdintegerUnique store identifier
vendorIdintegerBrand identifier
storeCodestringStore code
schedulesByChannelobject[]Operating hours per channel
taxesInfoobjectTax and VAT configuration
contactInfoobjectPhone and address
deliveryInfoobjectCook time, delivery ID, minimum order, and shipping cost
locationInfoobjectCity, latitude, and longitude
storeChannelsstring[]Channel UUIDs this store is associated with

data.stores[n].schedulesByChannel[n]

FieldTypeDescription
channelIdstringChannel UUID
schedulesobject[]List of time windows
schedules[n].daystringDay of the week (e.g. MONDAY, FRIDAY)
schedules[n].startTimestringOpening time in HH:mm format
schedules[n].endTimestringClosing time in HH:mm format

data.stores[n].taxesInfo

FieldTypeDescription
taxRatenumberTax rate
vatRatePercentagenumberVAT rate as a percentage

data.stores[n].contactInfo

FieldTypeDescription
phonestringStore phone number
addressstringStore address

data.stores[n].deliveryInfo

FieldTypeDescription
cookTimestringEstimated preparation time in minutes
deliveryIdintegerDelivery provider identifier
minimumOrderstringMinimum order amount
shippingCostnumberDelivery fee

data.stores[n].locationInfo

FieldTypeDescription
citystringCity name
latitudestringGeographic latitude
longitudestringGeographic longitude

data.channels[n]

FieldTypeDescription
activebooleanWhether the channel is active
channelstringChannel name
vendorIdintegerBrand identifier
channelIdstringUnique channel UUID
channelReferenceNamestringChannel reference name
servicesobject[]Services available through this channel in this store

data.channels[n].services[n]

FieldTypeDescription
codestringService type code (e.g. DELIVERY, TAKEAWAY)
serviceIdstringUnique service identifier
referenceNamestringHuman-readable service name for this channel

Usage

See Store publication for the full handling guide.