Skip to content
English
  • There are no suggestions because the search field is empty.

Upon Bulk Items Updated

When bulk item updates are made to a main menu via the Menu Management platform for a specific App

EVENT app_menu_bulk_items_updated
Example

Event - specific menu products updated

{
  "event": "app_menu_bulk_items_updated",
  "data": {
    "locationId": "xyWd34c32",
    "appId": "example-app-id",
  "uri": "https://sandbox.doshii.co/partner/v3/locations/xyWd34c32/menu?filtered&menuId=default",
    "type": "products",
    "items": [
      {
        "posId": "00011231",
        "availability": "unavailable",
        "unitPrice": 1250
      },
      {
        "posId": "00011232",
        "availability": "available"
      }
    ]
  }
}

Event - specific menu variants updated

{
  "event": "app_menu_bulk_items_updated",
  "data": {
    "locationId": "xyWd34c32",
    "appId": "example-app-id",
  "uri": "https://sandbox.doshii.co/partner/v3/locations/xyWd34c32/menu?filtered&menuId=default",
    "type": "variant",
    "items": [
      {
        "posId": "variant-1",
        "availability": "unavailable",
        "price": 1250
      }
    ]
  }
}

Event - multiple products and fields

{
  "event": "app_menu_bulk_items_updated",
  "data": {
    "locationId": "xyWd34c32",
    "appId": "example-app-id",
  "uri": "https://sandbox.doshii.co/partner/v3/locations/xyWd34c32/menu?filtered&menuId=default",
    "type": "variant",
    "items": [
     {
      "posId": "product-1",
      "availability": "unavailable",
      "unitPrice": 1100
    },
    {
      "posId": "product-2",
      "availability": "available"
    }
    ]
  }
}

--

When bulk item updates are made to a sub menu via the Menu Management platform for a specific App

EVENT app_sub_menu_bulk_items_updated

Example

Event - specific menu products updated

{
"event": "app_sub_menu_bulk_items_updated",
  "data": {
    "locationId": "xyWd34c32",
    "appId": "example-app-id",
  "uri": "https://sandbox.doshii.co/partner/v3/locations/xyWd34c32/menu?filtered&menuId=12345",
    "type": "products",
    "items": [
      {
        "posId": "00011231",
        "availability": "unavailable",
        "unitPrice": 1250
      },
      {
        "posId": "00011232",
        "availability": "available"
      }
    ]
  }
}

Event - specific menu variants updated

{
"event": "app_sub_menu_bulk_items_updated",
  "data": {
    "locationId": "xyWd34c32",
    "appId": "example-app-id",
  "uri": "https://sandbox.doshii.co/partner/v3/locations/xyWd34c32/menu?filtered&menuId=12345",
    "type": "variant",
    "items": [
      {
        "posId": "variant-1",
        "availability": "unavailable",
        "price": 1250
      }
    ]
  }
}

Event - multiple products and fields

{
"event": "app_sub_menu_bulk_items_updated",
  "data": {
    "locationId": "xyWd34c32",
    "appId": "example-app-id",
"uri": "https://sandbox.doshii.co/partner/v3/locations/xyWd34c32/menu?filtered&menuId=12345",
    "type": "variant",
    "items": [
     {
      "posId": "product-1",
      "availability": "unavailable",
      "unitPrice": 1100
    },
    {
      "posId": "product-2",
      "availability": "available"
    }
    ]
  }
}