SpotOn API Documentation.

From SpotOn Restaurant

Food Items

    URL: https://www.api.123demo.co.in/api/food_items
    Method:  POST
  
Object Description
device_token [Required] (Get during app installation)
app_api_key [Required] (Get during app installation)
token [Required] Bearer Token (Get during app login)
restaurant_id [Required]
output JSON formats.
    {
      "success": true,
      "data": {
          "public_root_url": "http://superadmin.123demo.co.in/storage/app/public/items/thumbnail/",
          "data": [
              {
                  "id": 6,
                  "business_id": 1,
                  "restaurant_id": 40,
                  "food_type_id": 5,
                  "food_menu_item_id": 6,
                  "food_menu_header": "Indian Cuisine Bread Silce",
                  "status": 1,
                  "created_at": "2022-02-11 16:19:15",
                  "updated_at": null,
                  "menu_item_name": "Bread Silce",
                  "menu_item_code": "202202119873",
                  "cuisine_type_id": 49,
                  "ingradient": "Extra-virgin olive oil (for pan)\r\nBread flour (for surface)\r\nMaster Bread Dough\r\nFlaky sea salt",
                  "price": 45,
                  "description": "If you’re looking for a simple recipe for a tender sandwich bread—the kind of loaf that’d be great",
                  "food_category": 1,
                  "item_img": "1644576555.jpg"
              },
              {
                  "id": 9,
                  "business_id": 1,
                  "restaurant_id": 40,
                  "food_type_id": 7,
                  "food_menu_item_id": 9,
                  "food_menu_header": "Indian Chinese Noodles",
                  "status": 1,
                  "created_at": "2022-02-11 16:26:45",
                  "updated_at": null,
                  "menu_item_name": "Noodles",
                  "menu_item_code": "202202119050",
                  "cuisine_type_id": 50,
                  "ingradient": "Noodles Egg",
                  "price": 220,
                  "description": "Noodles EggNoodles Egg",
                  "food_category": 1,
                  "item_img": "1644577005.jpg"
              },
              {
                  "id": 8,
                  "business_id": 1,
                  "restaurant_id": 40,
                  "food_type_id": 12,
                  "food_menu_item_id": 8,
                  "food_menu_header": "Green Salad",
                  "status": 1,
                  "created_at": "2022-02-11 16:23:37",
                  "updated_at": null,
                  "menu_item_name": "Green Salad",
                  "menu_item_code": "202202112154",
                  "cuisine_type_id": 50,
                  "ingradient": "Green SaladGreen SaladGreen Salad",
                  "price": 80,
                  "description": "Green SaladGreen SaladGreen Salad",
                  "food_category": 1,
                  "item_img": "1644576817.jpg"
              },
              {
                  "id": 7,
                  "business_id": 1,
                  "restaurant_id": 40,
                  "food_type_id": 5,
                  "food_menu_item_id": 7,
                  "food_menu_header": "Indian Indian Bread Silce Shoth Dish",
                  "status": 1,
                  "created_at": "2022-02-11 16:20:37",
                  "updated_at": null,
                  "menu_item_name": "Bread Silce Shoth Dish",
                  "menu_item_code": "202202112222",
                  "cuisine_type_id": 106,
                  "ingradient": "If you’re looking for a simple recipe for a tender sandwich bread—the kind of loaf that’d be great ...",
                  "price": 65,
                  "description": "If you’re looking for a simple recipe for a tender sandwich bread—the kind of loaf that’d be great ...",
                  "food_category": 1,
                  "item_img": "1644576637.jpg"
              }
          ]
      },
      "message": "Get fetched food items."
    }
  
    {
        "success": false,
        "message": "Unauthorized",
        "data": "Unauthorized"
    }