OGWUGO API DOCUMENTATION

  1. Home
  2. Docs
  3. OGWUGO API DOCUMENTATION
  4. Main Server Documentation
  5. Categories Details

Categories Details

The product category has parent and child categories, products are available in child categories but not parent categories.

Authentication :  Required

Authorization : not Required

Method: GET

1: list 4 featured child categories.

/categories/featured

2. list all child categories.

/categories/child

3. list all parent categories with their children.

/categories/parent

4. get single category detail

categories/single/{id}

 

RESPONSE FORMAT:

// for all child categories..
{
"data": [
{
"id": 31,
"product_count": 29,
"name": "Dresses",
"description": "women dresse",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 32,
"product_count": 1,
"name": "Tops And Tees",
"description": "Tops & Tees",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 33,
"product_count": 61,
"name": "Intimates",
"description": "Intimates",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 34,
"product_count": 16,
"name": "Hoodies And Sweatshirts",
"description": "Hoodies & Sweatshirts",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 35,
"product_count": 1,
"name": "Sweaters",
"description": "Sweaters",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 36,
"product_count": 0,
"name": "Blouses And Shirts",
"description": "Blouses & Shirts",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 37,
"product_count": 0,
"name": "Accessories",
"description": "Accessories",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 38,
"product_count": 0,
"name": "Jumpsuits",
"description": "Jumpsuits",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 39,
"product_count": 0,
"name": "Socks And Hosiery",
"description": "Socks & Hosiery",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 40,
"product_count": 15,
"name": "Rompers",
"description": "Rompers",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 41,
"product_count": 0,
"name": "Jackets And Coats",
"description": "Jackets & Coats",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 42,
"product_count": 4,
"name": "Bottoms",
"description": "Bottoms",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 43,
"product_count": 0,
"name": "Suits And Sets",
"description": "Suits & Sets",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 44,
"product_count": 6,
"name": "Sleep And Lounge",
"description": "Sleep & Lounge",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 45,
"product_count": 0,
"name": "Bodysuits",
"description": "Bodysuits",
"parent": 2,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 46,
"product_count": 0,
"name": "Desktop",
"description": "Desktop",
"parent": 5,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 47,
"product_count": 4,
"name": "Cables And Connectors",
"description": "Cables & Connectors",
"parent": 5,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 48,
"product_count": 8,
"name": "Software",
"description": "Software",
"parent": 5,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 49,
"product_count": 0,
"name": "Networkings",
"description": "Networking",
"parent": 5,
"icon": "UPLOADS/category/images/1494933961_cat_ali.jpg",
"image": "https://ogwugo.com/UPLOADS/category/images/1494933961_cat_ali.jpg",
"type": "child"
},
{
"id": 50,
"product_count": 18,
"name": "Women Watches",
"description": "Buy cheap uk women watches from Ogwugo, this watches are made fine leathers. We have the best designers of women watches, buy them online here, there is where buhari is now buying watches online",
"parent": 14,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 51,
"product_count": 6,
"name": "Lager Beer",
"description": "Buy your Star Lager Beer, Life Beer, Gulder Beer, Heineken Large and Medium Beer, Medium, Small and Large Stout Beer, Small and Big Legend Beer and other Drinks at cheaper rates on ogwugo.com and have it delivered to your doorstep.",
"parent": 26,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 53,
"product_count": 4,
"name": "Alcoholic",
"description": "Discover alcoholic wines, Spirits, Rum, Vodka, Whisky online at ogwugo.com -BEST SELECTION OF DRINKS FROM NIGERIA’S LEADING ALCOHOL STORE- ogwugo.com and also Buy Quality Wine at the Best Prices and have it delivered at your doorstep Based on Logistics. Shop now! 24/7 ok",
"parent": 27,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 54,
"product_count": 0,
"name": "Nonalcoholic",
"description": "Buy Cheap Non-alcoholic wines online at ogwugo.com -BEST SELECTION OF DRINKS FROM NIGERIA’S LEADING ONLINE STORE- ogwugo.com and also Buy Quality Wine at the Best Prices and have it delivered at your doorstep Based on Logistics. Shop now! 24/7",
"parent": 27,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 55,
"product_count": 4,
"name": "Cooking Gas",
"description": "Buy and Refill Cooking gas online at ogwugo.com 24/7 and have it delivered at your doorstep based on logistics",
"parent": 24,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 56,
"product_count": 2,
"name": "Doors",
"description": "Turkey, israel and china doors for sale @ ogwugo.com, we assure that your doors in buildings are protected and are of good quality furniture designs. based on logistics Efe uses our doors @ogwugo.com",
"parent": 8,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
},
{
"id": 57,
"product_count": 1,
"name": "Pasteries",
"description": "Enjoy breakfast with our tasty pastries at ogwugo.com. Our pastries are baked fresh and sweetened with the finest ingredients. ogwugo.com has various types of delicious confectioneries such as pies and cakes which are made of savory ingredients and can be delivered to your doorstep asap.",
"parent": 24,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "child"
}
],
"status": "success",
"message": "all child categories listed",
"error": {
"detail": "something went right!",
"code": "200"
}
}

 

FOR PARENT

{
"data": [
{
"id": 1,
"name": "General",
"description": "This is where you can find all products not available in other categories",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 2,
"name": "Womens Clothing And Accessories",
"description": "Women's Clothing & Accessories available",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": [
{
"id": 31,
"name": "Dresses",
"description": "women dresse",
"parent": 2,
"icon": ""
},
{
"id": 32,
"name": "Tops And Tees",
"description": "Tops & Tees",
"parent": 2,
"icon": ""
},
{
"id": 33,
"name": "Intimates",
"description": "Intimates",
"parent": 2,
"icon": ""
},
{
"id": 34,
"name": "Hoodies And Sweatshirts",
"description": "Hoodies & Sweatshirts",
"parent": 2,
"icon": ""
},
{
"id": 35,
"name": "Sweaters",
"description": "Sweaters",
"parent": 2,
"icon": ""
},
{
"id": 36,
"name": "Blouses And Shirts",
"description": "Blouses & Shirts",
"parent": 2,
"icon": ""
},
{
"id": 37,
"name": "Accessories",
"description": "Accessories",
"parent": 2,
"icon": ""
},
{
"id": 38,
"name": "Jumpsuits",
"description": "Jumpsuits",
"parent": 2,
"icon": ""
},
{
"id": 39,
"name": "Socks And Hosiery",
"description": "Socks & Hosiery",
"parent": 2,
"icon": ""
},
{
"id": 40,
"name": "Rompers",
"description": "Rompers",
"parent": 2,
"icon": ""
},
{
"id": 41,
"name": "Jackets And Coats",
"description": "Jackets & Coats",
"parent": 2,
"icon": ""
},
{
"id": 42,
"name": "Bottoms",
"description": "Bottoms",
"parent": 2,
"icon": ""
},
{
"id": 43,
"name": "Suits And Sets",
"description": "Suits & Sets",
"parent": 2,
"icon": ""
},
{
"id": 44,
"name": "Sleep And Lounge",
"description": "Sleep & Lounge",
"parent": 2,
"icon": ""
},
{
"id": 45,
"name": "Bodysuits",
"description": "Bodysuits",
"parent": 2,
"icon": ""
}
]
},
{
"id": 3,
"name": "Mens Clothing Accessories",
"description": "Men's Clothing & Accessories",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 4,
"name": "Phones And Telecommunications",
"description": "Phones & Telecommunications",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 5,
"name": "Computer & Office",
"description": "Computer & Office",
"parent": 0,
"icon": "UPLOADS/category/images/1494933622_cat_ali2.jpg",
"image": "https://ogwugo.com/UPLOADS/category/images/1494933622_cat_ali2.jpg",
"type": "parent",
"children": [
{
"id": 46,
"name": "Desktop",
"description": "Desktop",
"parent": 5,
"icon": ""
},
{
"id": 47,
"name": "Cables And Connectors",
"description": "Cables & Connectors",
"parent": 5,
"icon": ""
},
{
"id": 48,
"name": "Software",
"description": "Software",
"parent": 5,
"icon": ""
},
{
"id": 49,
"name": "Networkings",
"description": "Networking",
"parent": 5,
"icon": "UPLOADS/category/images/1494933961_cat_ali.jpg"
}
]
},
{
"id": 6,
"name": "Consumer Electronics",
"description": "Consumer Electronics",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 7,
"name": "Jewelry Accessories",
"description": "Jewelry & Accessories",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 8,
"name": "Home And Garden",
"description": "Home & Garden",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": [
{
"id": 56,
"name": "Doors",
"description": "Turkey, israel and china doors for sale @ ogwugo.com, we assure that your doors in buildings are protected and are of good quality furniture designs. based on logistics Efe uses our doors @ogwugo.com",
"parent": 8,
"icon": ""
}
]
},
{
"id": 9,
"name": "Luggage And Bags",
"description": "Luggage & Bags",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 10,
"name": "Shoes",
"description": "Shoes",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 11,
"name": "Mother And Kids",
"description": "Mother & Kids",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 12,
"name": "Sports And Entertainment",
"description": "Sports & Entertainment",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 13,
"name": "Beauty And Health",
"description": "Beauty & Health",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 14,
"name": "Watches",
"description": "Watches",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": [
{
"id": 50,
"name": "Women Watches",
"description": "Buy cheap uk women watches from Ogwugo, this watches are made fine leathers. We have the best designers of women watches, buy them online here, there is where buhari is now buying watches online",
"parent": 14,
"icon": ""
}
]
},
{
"id": 15,
"name": "Toys Hobbies",
"description": "Toys & Hobbies",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 16,
"name": "Weddings And Events",
"description": "Weddings & Events",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 17,
"name": "Novelty And Special Use",
"description": "Novelty & Special Use",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 18,
"name": "Automobiles And Motorcycles",
"description": "Automobiles & Motorcycles",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 19,
"name": "Lights And Lighting",
"description": "Lights & Lighting",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 20,
"name": "Furniture",
"description": "Furniture",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 21,
"name": "Electronic Components And Supplies",
"description": "Electronic Components & Supplies",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 22,
"name": "Office And School Supplies",
"description": "Office & School Supplies",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 23,
"name": "Home Improvement",
"description": "Home Improvement",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 24,
"name": "Food",
"description": "Food",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": [
{
"id": 55,
"name": "Cooking Gas",
"description": "Buy and Refill Cooking gas online at ogwugo.com 24/7 and have it delivered at your doorstep based on logistics",
"parent": 24,
"icon": ""
},
{
"id": 57,
"name": "Pasteries",
"description": "Enjoy breakfast with our tasty pastries at ogwugo.com. Our pastries are baked fresh and sweetened with the finest ingredients. ogwugo.com has various types of delicious confectioneries such as pies and cakes which are made of savory ingredients and can be delivered to your doorstep asap.",
"parent": 24,
"icon": ""
}
]
},
{
"id": 25,
"name": "Security And Protection",
"description": "Security & Protection",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 26,
"name": "Beer",
"description": "bear",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": [
{
"id": 51,
"name": "Lager Beer",
"description": "Buy your Star Lager Beer, Life Beer, Gulder Beer, Heineken Large and Medium Beer, Medium, Small and Large Stout Beer, Small and Big Legend Beer and other Drinks at cheaper rates on ogwugo.com and have it delivered to your doorstep.",
"parent": 26,
"icon": ""
}
]
},
{
"id": 27,
"name": "Wines",
"description": "wines",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": [
{
"id": 53,
"name": "Alcoholic",
"description": "Discover alcoholic wines, Spirits, Rum, Vodka, Whisky online at ogwugo.com -BEST SELECTION OF DRINKS FROM NIGERIA’S LEADING ALCOHOL STORE- ogwugo.com and also Buy Quality Wine at the Best Prices and have it delivered at your doorstep Based on Logistics. Shop now! 24/7 ok",
"parent": 27,
"icon": ""
},
{
"id": 54,
"name": "Nonalcoholic",
"description": "Buy Cheap Non-alcoholic wines online at ogwugo.com -BEST SELECTION OF DRINKS FROM NIGERIA’S LEADING ONLINE STORE- ogwugo.com and also Buy Quality Wine at the Best Prices and have it delivered at your doorstep Based on Logistics. Shop now! 24/7",
"parent": 27,
"icon": ""
}
]
},
{
"id": 28,
"name": "Groceries",
"description": "groceries",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 30,
"name": "Phones And Tablets",
"description": "Phones and tabs",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 58,
"name": "Dfgfhgbjn",
"description": "iukyjthgrf kufhgddgd uytyu yyy fuyu fftu fuutfu uuuuf",
"parent": 0,
"icon": "",
"image": "https://ogwugo.com/categories_default_icon.jpg",
"type": "parent",
"children": null
},
{
"id": 59,
"name": "Gingerginger",
"description": "dfhdfh ghvghdfhgdfgh hgdfgdfgidfgi gdfgidfgidffgi igdfgidfgidfgi igdfgidfuigdfugi igdfiugdfigudfig igvfgiudfigdfigvcigfigufugifdiug fdigudfiugdfiug iufduifdiudfiu igfdigdfiudfiuiuiufuiiufui ufsiudfidfi ifiufusfu uvsufsusfu fsususfuv fgisfghsfgh sfgsfg",
"parent": 0,
"icon": "https://res.cloudinary.com/ogwugo-market/image/upl",
"image": "https://ogwugo.com/https://res.cloudinary.com/ogwugo-market/image/upl",
"type": "parent",
"children": null
}
],
"status": "success",
"message": "all parent categories listed",
"error": {
"detail": "something went right!",
"code": "200"
}
}
Was this article helpful to you? Yes No

How can we help?