1. Help for Partners
  2. All App Partners Event

Upon Menu updated

When a menu (or menu item/surcount/option) is changed

EVENT menu_updated 

Example

Event - entire menu updated

{
    "event": "menu_updated",
    "data": {
        "locationId": "1354",
        "uri": "https://sandbox.doshii.co/partner/v3/locations/1354/menu"
    }
}

 

Event - specific menu item updated

{
    "event": "menu_updated",
    "data": {
        "locationId": "1354",
        "uri": "https://sandbox.doshii.co/partner/v3/locations/1354/menu",
        "posId": "00011231",
        "type": "products",
        "action": "updated",
"availability": "available", "itemUri": "https://sandbox.doshii.co/partner/v3/locations/1354/menu/products/00011231" } }

 

Event - specific menu option updated

{
    "event": "menu_updated",
    "data": {
        "locationId": "1354",
        "uri": "https://sandbox.doshii.co/partner/v3/locations/1354/menu",
        "posId": "fries1",
        "type": "options",
        "action": "updated",
        "itemUri": "https://sandbox.doshii.co/partner/v3/locations/1354/menu/options/fries1"
    }
}

  

Event - specific menu surcount updated

{
    "event": "menu_updated",
    "data": {
        "locationId": "1354",
        "uri": "https://sandbox.doshii.co/partner/v3/locations/1354/menu",
        "posId": "delivery10",
        "type": "surcounts",
        "action": "updated",
        "itemUri": "https://sandbox.doshii.co/partner/v3/locations/1354/menu/surcounts/delivery10"
    }
}