OGWUGO API DOCUMENTATION

  1. Home
  2. Docs
  3. OGWUGO API DOCUMENTATION
  4. Ogwugo Food
  5. Categories (menu, list, by restaurant )

Categories (menu, list, by restaurant )

Get Categories..

Header Authorization: required.

Header Authentication : not required.

 

list all & featured & store categories

PATH

[GET]   /categories/list 
[GET]   /categories/list/featured 

Categories in restaurant.

[GET]   /category/list/restaurant/{store_id} 

PARAMETERS:

RESPONSE:

{
    "data": [
        {
            "id": 3,
            "parent": 2,
            "name": "Drinks",
            "description": "",
            "status": 1,
            "image": "uploads/images/three.jpg",
            "image_b": "",
            "image_c": "",
            "image_folder": "",
            "featured": 0,
            "icon": "",
            "icon_public_id": "",
            "image_public_id": "",
            "image_b_public_id": "",
            "image_c_public_id": "",
            "color": "",
            "url": "",
            "created_at": "2018-02-19 10:08:12",
            "updated_at": "2018-03-19 11:03:12",
            "banner_path": "uploads/images/three.jpg"
        },
        {
            "id": 4,
            "parent": 1,
            "name": "TEST FOOD CAT",
            "description": "",
            "status": 1,
            "image": "",
            "image_b": "",
            "image_c": "",
            "image_folder": "",
            "featured": 0,
            "icon": "",
            "icon_public_id": "",
            "image_public_id": "",
            "image_b_public_id": "",
            "image_c_public_id": "",
            "color": "",
            "url": "",
            "created_at": "2018-03-19 11:03:01",
            "updated_at": "2018-03-19 11:03:01",
            "banner_path": ""
        }
    ],
    "status": "success",
    "message": "categories listed",
    "error": {
        "detail": "all categories listed",
        "code": "200"
    }
}
Was this article helpful to you? Yes No

How can we help?