When you subscribe to Menu WebHooks from ShoppinPal, you will receive the below payload.

WebHook Request HeaderValue
x-webhook-topicmenu

Body

  • accountId - ID of the account-store combination in ShoppinPal's system.
  • sourceId - ID of the entity in the source system.
  • isInitial - Whether this is part of an initial synchronisation.
{
  "name": "Tasty BBQ",
  "description": "Cooking up BBQ deliciousness from around the globe!",
  "hours": {
    "intervals": [
      {
        "day": "MONDAY",
        "fromHour": 0,
        "fromMinute": 0,
        "toHour": 0,
        "toMinute": 0
      }
    ]
  },
  "accountId": 1,
  "sourceId": "ff6dd693-5e55-4a92-a359-ea61b23ed423",
  "isInitial": true
}