OGWUGO API DOCUMENTATION

  1. Home
  2. Docs
  3. OGWUGO API DOCUMENTATION
  4. Ogwugo Food
  5. Get Menu

Get Menu

Restaurant Menu
Header Authorization: required.

Header Authentication : not required.

PATH

[GET]   /restaurant/menu/list/{restaurant_id} 
[GET]   /restaurant/menu/list/{restaurant_id}?category={category_id} 
[GET]   /restaurant/menu/list/featured/{restaurant_id} 

 

 

RESPONSE :

 
{
    "data": [
        {
            "id": 111,
            "name": "health food",
            "price": 24321,
            "price_sale": 23221,
            "remiter_price": 400,
            "on_sale": 1,
            "free_packaging": 1,
            "packaging_fee": 99,
            "weight": 1,
            "store": 15,
            "owner": 0,
            "status": 1,
            "food_category": 3,
            "product_form": 1,
            "ogwugo_location": 1,
            "attributes_family": 0,
            "description": "wew",
            "quantity": 123,
            "in_stock": 1,
            "cost_price": 0,
            "total_sold": 0,
            "tags": "",
            "featured": 1,
            "created_at": "2018-02-20 09:16:12",
            "updated_at": "2018-11-14 12:26:48",
            "image": "https://res.cloudinary.com/ogwugo-market/image/upload/v1522999110/products/menu/restaurant/1522999106_ogwugo.png",
            "image_public_id": "products/menu/restaurant/1522999106_ogwugo",
            "food_type": "main",
            "url": "",
            "attributes_filters": "{\"1\":\"1\",\"2\":\"2\"}",
            "monday": 1,
            "tuesday": 1,
            "wednesday": 1,
            "thursday": 1,
            "friday": 1,
            "saturday": 1,
            "sunday": 0,
            "attributes_array": [
                {
                    "name": "Color",
                    "options": [
                        "Black",
                        "Blue",
                        "Green",
                        "White",
                        "Yellow",
                        "Red",
                        "Ash",
                        "Peach",
                        "Turquoise"
                    ]
                },
                {
                    "name": "Size",
                    "options": [
                        "S",
                        "M",
                        "L",
                        "XL",
                        "XXL"
                    ]
                }
            ],
        }
    ],
    "status": "success",
    "message": "featured menu listed",
    "error": {
        "detail": "all menu listed",
        "code": "200"
    }
}

Was this article helpful to you? Yes No

How can we help?