emart - Laravel Multi-Vendor Ecommerce Advanced CM
  • Documentation
  • Introduction
  • Key Features
  • Installation
    • Server Requirements
    • Shared Hosting Install
    • Installation Step By Step
    • Installation on VPS hosting
  • Developer Guide
    • Developer Guide
  • Setting up emart
    • Mail settings
    • Setting up CRON JOBS
    • PWA Setup
    • Multivendor Setup
    • Setting up Multicurrency
    • Database backup
    • Import Demo Content
    • Push notifications
    • Seller Payouts
    • Front settings
      • Payment gateways
      • SMS Settings
    • Site Settings
    • Setting up Google review
    • Wallet settings
    • Add-on Manager
  • faq's
    • Installation FAQ's
    • General Settings
    • Disclaimer
    • Regular & Extended Licenses
    • Privacy Policy
    • Access Denied
  • UPDATE PROCESS
    • Changelogs
    • UpdateGuide
    • Quick Update
      • 2.8.x
      • 2.9.x
      • 3.0x
  • Support
    • Support
    • Source and Credits
    • Emart Tutorials - Youtube
    • Installation of eMart
  • Conclusion
    • Conclusion
  • portfolio
  • Codecanyon
  • Themeforest
  • Graphic River
  • Homepage
  • Emart Api
  • 🍿Getting Started
  • Login
  • Register
  • Refresh Token
  • Logout
  • Social Login API
  • Homepage (12/01/2022)
  • Product Detail page (18/01)
  • Product all Comments
  • Product All Reviews
  • Get All Brands
  • Brand Products
  • Main Category with products(26/11)
  • Subcategory with products (26/11)
  • Child category with their products (26/11)
  • Get all categories
  • Get All Subcategory
  • Get All Childcategories
  • 🦹‍♂️View User Profile
  • Current User Wallet
  • User Favorite Wishlist (26/11)
  • Add item in wishlist (09/02)
  • Remove items from wishlist (09/02)
  • Wishlist collection (09/02)
  • View Particular Wishlist collection (09/02)
  • Create wishlist collection (09/02)
  • Current User Address list (02/02)
  • Create new user address (02/02)
  • List Billing address (02/02)
  • Create billing address (02/02)
  • Current User bank list (10/01/2022)
  • Current User notifications
  • 🌟My Reviews
  • Get User Cart (13/01)
  • Add Item in User Cart (13/01)
  • Remove Item from user cart (13/01)
  • Clear user cart
  • Increase item quantity in user cart (19/01) (Updated)
  • Get Guest User Cart (15/01)
  • Guest cart Store (15/01)
  • Apply Coupans
  • Remove coupan
  • General FAQ API
  • Custom Page
  • Pincode API (03/02)
  • General Configurations
  • Payment Methods List
  • List of countries
  • List of states
  • List of Cities
  • Search City (03/02)
  • Fetch City List By Pincode For Guest (03/02)
  • Fetch city list with address for logged in user (03/02)
  • List Languages
  • Fetch Current Time
  • Policy Pages
  • Order Review (27/02)
  • Localpickup apply (27/02)
  • Remove Localpickup (27/02)
  • Confirm Order
  • MY Orders
  • View Order
  • Get Razorpay Payment ORDER ID
  • Generate Paytm Checksum
  • View All Flashdeals (12/01)
  • View Specific Flashdeals (12/01)
  • Wishlist
  • Changelogs
Powered by GitBook
On this page
  • This endpoint allows you to get all active child categories.
  • If response fail

Was this helpful?

Get All Childcategories

Get all child categories

This endpoint allows you to get all active child categories.

GET https://castleindia.in/emart/public /api/childcategories?secret=xxxx /api/childcategories

Query Parameters

Name
Type
Description

secret

String

Client secret key which obtained from admin panel.

Headers

Name
Type
Description

Accept

String

application/json

{
  "categories": [
    {
      "id": 5,
      "title": {
        "en": "Bottoms"
      },
      "image": "1579089761Boys Shorts 01-01.jpg",
      "description": {
        "en": "<p>Ethnic Bottoms - Buy Ethnic Bottom Wear Online for Women - Browse new arrival in Ethnic Bottoms, Check latest price in India and shop at India's favourite<\/p>"
      },
      "parent_id": 3,
      "position": 1,
      "subcat_id": 5,
      "status": "1",
      "featured": "1",
      "created_at": "2020-01-15T13:02:41.000000Z",
      "updated_at": "2020-08-04T13:16:03.000000Z"
    },
    {
      "id": 9,
      "title": {
        "en": "Footwears"
      },
      "image": "1579089994Catwalk Women's Open Toe Slip On Sandals 01-01.jpg",
      "description": {
        "en": "<p>Casual shoes like canvas shoes , sneakers, loafers, boots, and moccasins are semi-casual and can be worn even with formal wear. The collection of women&#39;s footwear also features boots , flip-flops, slippers, floaters and sandals for women .<br \/>\r\n&nbsp;<\/p>"
      },
      "parent_id": 3,
      "position": 2,
      "subcat_id": 6,
      "status": "1",
      "featured": "0",
      "created_at": "2020-01-15T13:06:34.000000Z",
      "updated_at": "2020-07-09T11:55:25.000000Z"
    },
    {
      "id": 4,
      "title": {
        "en": "Bags"
      },
      "image": "1579089703SC30 Undeniable Backpack 01-01.jpg",
      "description": {
        "en": "<p>Whether you go to the gym or you are a sports enthusiast, having a sports bag or gym bags is more than a necessity. Sports bags usually resemble duffel bags. Duffel bags are nothing but a large cylindrical bag made of fabric or leather featuring a zip closure on the top.<\/p>"
      },
      "parent_id": 3,
      "position": 3,
      "subcat_id": 5,
      "status": "1",
      "featured": "0",
      "created_at": "2020-01-15T13:01:43.000000Z",
      "updated_at": "2020-07-09T11:55:25.000000Z"
    },
    {
      "id": 3,
      "title": {
        "en": "Baby Girl",
        "es": "Bebita"
      },
      "image": "1579089631Allover print dress 02-01.jpg",
      "description": {
        "en": "<p>Children&#39;s clothing or kids&#39; clothing is clothing for children who have not yet grown to full height. Grandma bait is a retail industry term for expensive children&#39;s clothing. Children&#39;s clothing is often more casual than adult clothing, fit for play and rest. Hosiery is commonly used.<\/p>",
        "es": "<p>Children's clothing or kids' clothing is clothing for children who have not yet grown to full height. Grandma bait is a retail industry term for expensive children's clothing. Children's clothing is often more casual than adult clothing, fit for play and rest. Hosiery is commonly used.<\/p>"
      },
      "parent_id": 3,
      "position": 4,
      "subcat_id": 4,
      "status": "1",
      "featured": "0",
      "created_at": "2020-01-15T13:00:31.000000Z",
      "updated_at": "2020-11-26T06:20:42.000000Z"
    },
    {
      "id": 2,
      "title": {
        "en": "Baby Boy"
      },
      "image": "1579089600Crew neck top with inlay 01-01.jpg",
      "description": {
        "en": "<p>Children&#39;s clothing or kids&#39; clothing is clothing for children who have not yet grown to full height. Grandma bait is a retail industry term for expensive children&#39;s clothing. Children&#39;s clothing is often more casual than adult clothing, fit for play and rest. Hosiery is commonly used.<\/p>"
      },
      "parent_id": 3,
      "position": 5,
      "subcat_id": 4,
      "status": "1",
      "featured": "0",
      "created_at": "2020-01-15T13:00:00.000000Z",
      "updated_at": "2020-07-09T11:55:25.000000Z"
    },
    {
      "id": 6,
      "title": {
        "en": "Shoes"
      },
      "image": "1579089818Klepe Men's Sneakers 01-02.jpg",
      "description": {
        "en": "<p>Sneakers (also called trainers, athletic shoes, tennis shoes, gym shoes, kicks, sport shoes or runners) are shoes primarily designed for sports or other forms of physical exercise, but which are now also widely used for everyday wear.<\/p>"
      },
      "parent_id": 3,
      "position": 6,
      "subcat_id": 5,
      "status": "1",
      "featured": "0",
      "created_at": "2020-01-15T13:03:38.000000Z",
      "updated_at": "2020-07-09T11:55:25.000000Z"
    },
    {
      "id": 7,
      "title": {
        "en": "T-Shirts"
      },
      "image": "1579089864Long Sleeve Shirt 03-01.jpg",
      "description": {
        "en": "<p>A T-shirt is a style of fabric shirt named after the T shape of its body and sleeves. Traditionally it has short sleeves and a round neckline, known as a crew neck, which lacks a collar. T-shirts are generally made of a stretchy, light and inexpensive fabric and are easy to clean.<\/p>"
      },
      "parent_id": 3,
      "position": 7,
      "subcat_id": 5,
      "status": "1",
      "featured": "0",
      "created_at": "2020-01-15T13:04:24.000000Z",
      "updated_at": "2020-07-09T11:55:25.000000Z"
    },
    {
      "id": 8,
      "title": {
        "en": "Bottom Wears"
      },
      "image": "1579089941Crop Womens Pants 7 Sweatpants 03-03.jpg",
      "description": {
        "en": "<p>Ethnic Bottoms - Buy Ethnic Bottom Wear Online for Women - Browse new arrival in Ethnic Bottoms, Check latest price in India and shop at India&#39;s favourite<\/p>"
      },
      "parent_id": 3,
      "position": 8,
      "subcat_id": 6,
      "status": "1",
      "featured": "0",
      "created_at": "2020-01-15T13:05:41.000000Z",
      "updated_at": "2020-07-09T11:55:25.000000Z"
    },
    {
      "id": 1,
      "title": {
        "en": "Cucumber Pickles"
      },
      "image": "1594108826top-view-pickled-cucumber-sliced-wooden-cutting-board-bowl-brown-stone_176474-1018.jpg",
      "description": {
        "en": "<p><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\">A pickled cucumber is a cucumber that has been pickled in a brine, vinegar, or other solution and left to ferment for a period of time, by either immersing the cucumbers in an acidic solution or through souring by lacto-fermentation. Pickled cucumbers are often part of mixed pickles.<\/span><\/p>"
      },
      "parent_id": 6,
      "position": 9,
      "subcat_id": 26,
      "status": "1",
      "featured": "1",
      "created_at": "2020-07-07T10:00:26.000000Z",
      "updated_at": "2020-07-09T11:55:25.000000Z"
    },
    {
      "id": 10,
      "title": {
        "en": "Pasta"
      },
      "image": "1594114251pasta01.jpg",
      "description": {
        "en": "<p><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\">Pasta is the Italian designation or name given to a type of starchy noodle or dumpling food or dish typically made from grain flour, commonly wheat, mixed into a paste or dough, usually with water or eggs, and formed or cut into sheets or other shapes. It is usually cooked by boiling, baking or frying.<\/span><\/p>"
      },
      "parent_id": 6,
      "position": 10,
      "subcat_id": 27,
      "status": "1",
      "featured": "1",
      "created_at": "2020-07-07T11:30:51.000000Z",
      "updated_at": "2020-07-09T11:55:26.000000Z"
    },
    {
      "id": 11,
      "title": {
        "en": "Noodles"
      },
      "image": "1594115526noodle.jpg",
      "description": {
        "en": "<p><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\">Noodles are a type of food made from unleavened dough which is rolled flat and cut, stretched or extruded, into long strips or strings. Noodles can be refrigerated for short-term storage or dried and stored for future use. Noodles are usually cooked in boiling water, sometimes with cooking oil or salt added.<\/span><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\"> <\/span><\/p>"
      },
      "parent_id": 6,
      "position": 11,
      "subcat_id": 27,
      "status": "1",
      "featured": "1",
      "created_at": "2020-07-07T11:52:06.000000Z",
      "updated_at": "2020-07-07T12:22:09.000000Z"
    }
  ]
}

If response fail

{
  "errors": "Secret Key is required",
  "status": "fail"
}
{
  "errors": "Invalid Secret Key !",
  "status": "fail"
}
PreviousGet All SubcategoryNextView User Profile

Last updated 2 years ago

Was this helpful?