Menu webhook events

menu.created

Any time a menu is created we can trigger a MenuCreatedEvent

Payload example:

{
  "EventName": "menu.created",
  "Description": "1234 created menu 1234",
  "User": {
    "UserId": 1234,
    "UserName": "JohnDoe",
    "UserPhoneNumber": "0818204488",
    "UserEmail": "[email protected]"
  },
  "Menu": {
    "MenuId": 123,
    "ModifiedTime": "2017-12-15T17:33:15.055",
    "VersionNumber": 11,
    "ImageUrl": "http://flipdish/image.png",
    "DisplaySectionLinks": false,
    "MenuSectionBehaviour": "ExpandMultiple"
  },
  "FlipdishEventId": "1a92aaa3-59f4-4944-b868-a88cad0e291a",
  "CreateTime": "0001-01-01T00:00:00",
  "Position": 0
}

menu.updated

Any time a menu is updated we can trigger a MenuUpdatedEvent

Payload example:

{
  "EventName": "menu.updated",
  "Description": "1234 created menu 1234",
  "User": {
    "UserId": 1234,
    "UserName": "JohnDoe",
    "UserPhoneNumber": "0818204488",
    "UserEmail": "[email protected]"
  },
  "Menu": {
    "MenuId": 123,
    "ModifiedTime": "2017-12-15T17:33:15.055",
    "VersionNumber": 11,
    "ImageUrl": "http://flipdish/image.png",
    "DisplaySectionLinks": false,
    "MenuSectionBehaviour": "ExpandMultiple"
  },
  "FlipdishEventId": "1a92aaa3-59f4-4944-b868-a88cad0e291a",
  "CreateTime": "0001-01-01T00:00:00",
  "Position": 0
}