Get all categories

Get all primary categories

GET https://castleindia.in/emart/public /api/categories?secret=XXXX /api/category

This endpoint allows you to get all the primary categories

Query Parameters

NameTypeDescription

secret

String

Client secret key which you obtained from the admin panel.

currency

String

Three digit currency code eg : INR

Headers

NameTypeDescription

Accept

String

application/json

{
  "categories": [
    {
      "id": 2,
      "title": {
        "en": "Electronics",
        "es": "Electrónica"
      },
      "icon": "fa-camera-retro",
      "image": "1579088104Fujifilm Instax Mini 9 Instant Camera (Ice Blue) 01-05.jpg",
      "description": {
        "en": "<p>A gadget as a small device or tool that is frequently novel or ingenious. Smartphones and tablets are the most obvious examples of electronic gadgets. ... Other examples of electronic gadgets include e-book readers, smartwatches, digital fitness trackers, GPS devices and video game machines.<\/p>",
        "es": "<p>A gadget as a small device or tool that is frequently novel or ingenious. Smartphones and tablets are the most obvious examples of electronic gadgets. ... Other examples of electronic gadgets include e-book readers, smartwatches, digital fitness trackers, GPS devices and video game machines.<\/p>"
      },
      "position": 1,
      "status": "1",
      "featured": "0",
      "created_at": "2020-01-15T17:05:04.000000Z",
      "updated_at": "2020-11-26T10:24:55.000000Z"
    },
    {
      "id": 3,
      "title": {
        "en": "Fashion"
      },
      "icon": "fa-user-secret",
      "image": "1579088345Denim overall skirt 04-01.jpg",
      "description": {
        "en": "<p>Fashion is a popular aesthetic expression in a certain time and context, especially in clothing, footwear, lifestyle, accessories, makeup, hairstyle and body proportions. ... Fashion instead describes the social and temporal system that &quot;activates&quot; dress as a social signifier in a certain time and context.<\/p>"
      },
      "position": 2,
      "status": "1",
      "featured": "0",
      "created_at": "2020-01-15T17:09:05.000000Z",
      "updated_at": "2020-06-20T18:20:17.000000Z"
    },
    {
      "id": 4,
      "title": {
        "en": "Watches"
      },
      "icon": "fa-clock-o",
      "image": "1579088418GEN 5 SMARTWATCH - THE CARLYLE HR BLACK SILICONE 03-03.jpg",
      "description": {
        "en": "<p>A watch is a timepiece intended to be carried or worn by a person. It is designed to keep working despite the motions caused by the person&#39;s activities. A wristwatch is designed to be worn around the wrist, attached by a watch strap or other type of bracelet. A pocket watch is designed for a person to carry in a pocket. The study of timekeeping is known as horology.&nbsp;<\/p>"
      },
      "position": 3,
      "status": "1",
      "featured": "0",
      "created_at": "2020-01-15T17:10:18.000000Z",
      "updated_at": "2020-06-20T18:20:17.000000Z"
    },
    {
      "id": 1,
      "title": {
        "en": "Furniture"
      },
      "icon": "fa-database",
      "image": "1579087936Faye Floor Lamp, Brass and Marble 05-02.jpg",
      "description": {
        "en": "<p>Furniture refers to movable objects intended to support various human activities such as seating , eating , and sleeping. Furniture is also used to hold objects at a convenient height for work, or to store things. Furniture can be a product of design and is considered a form of decorative art.<\/p>"
      },
      "position": 4,
      "status": "1",
      "featured": "0",
      "created_at": "2020-01-15T17:02:16.000000Z",
      "updated_at": "2020-06-20T18:20:16.000000Z"
    },
    {
      "id": 5,
      "title": {
        "en": "Sports Book and More"
      },
      "icon": "fa-book",
      "image": "1593522262top-view-back-school-supplies-with-globe-book_23-2148587140.jpg",
      "description": {
        "en": "<p>Find sport and books here...<\/p>"
      },
      "position": 5,
      "status": "1",
      "featured": "0",
      "created_at": "2020-02-24T12:04:20.000000Z",
      "updated_at": "2020-06-30T18:34:22.000000Z"
    },
    {
      "id": 6,
      "title": {
        "en": "Grocery"
      },
      "icon": "fa-opencart",
      "image": "1593521944flat-lay-bag-groceries_23-2148262101.jpg",
      "description": {
        "en": "<p>A grocery store or grocer's shop is a retail shop that primarily sells food, either fresh or preserved. Large grocery stores stock significant amounts of non-food products, such as clothing and household items, blurring the line between grocery stores and supermarkets.<\/p>"
      },
      "position": 6,
      "status": "1",
      "featured": "0",
      "created_at": "2020-06-30T18:29:04.000000Z",
      "updated_at": "2020-06-30T18:29:04.000000Z"
    },
    {
      "id": 7,
      "title": {
        "en": "Beauty"
      },
      "icon": "fa-envira",
      "image": "1593522119cosmetic-brushes-makeup-powder-dark-background_23-2148209050.jpg",
      "description": {
        "en": "<p><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\">Buy cosmetics &amp; <\/span><span style=\"font-weight:bold;color:#5f6368;font-family:arial, sans-serif;background-color:#ffffff;\">beauty products<\/span><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\"> online from emart, the online shopping beauty store. Browse makeup, health products &amp; more from top beauty brands.<\/span><\/p>"
      },
      "position": 7,
      "status": "1",
      "featured": "0",
      "created_at": "2020-06-30T18:31:59.000000Z",
      "updated_at": "2020-06-30T18:31:59.000000Z"
    },
    {
      "id": 8,
      "title": {
        "en": "Garden & Outdoors"
      },
      "icon": "fa-gavel",
      "image": "1593522217young-woman-cultivating-plants-home_1303-23016.jpg",
      "description": {
        "en": "<p><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\">At emart <\/span><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\">, we offer a dedicated range of premium quality tools, equipment &amp; decorative items that makes beautifying your surroundings a joy.<\/span><\/p>"
      },
      "position": 8,
      "status": "1",
      "featured": "0",
      "created_at": "2020-06-30T18:33:37.000000Z",
      "updated_at": "2020-06-30T18:33:37.000000Z"
    },
    {
      "id": 9,
      "title": {
        "en": "Toys & Games"
      },
      "icon": "fa-angellist",
      "image": "1593522397christmas-toys-background-flat-design_23-2148350472.jpg",
      "description": {
        "en": "<p><span style=\"font-weight:bold;color:#5f6368;font-family:arial, sans-serif;background-color:#ffffff;\">Toys<\/span><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\"> For Boys &amp; Girls: Shop for Gifts For Kids online at best prices in India. Choose from a wide range of <\/span><span style=\"font-weight:bold;color:#5f6368;font-family:arial, sans-serif;background-color:#ffffff;\">Toys<\/span><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\"> for Boys &amp; Girls at emart.<\/span><\/p>"
      },
      "position": 9,
      "status": "1",
      "featured": "0",
      "created_at": "2020-06-30T18:36:37.000000Z",
      "updated_at": "2020-06-30T18:36:37.000000Z"
    },
    {
      "id": 10,
      "title": {
        "en": "Music"
      },
      "icon": "fa-music",
      "image": "1593522526top-view-vinyl-record-disk-playing_23-2148289038.jpg",
      "description": {
        "en": "<p><span style=\"color:#000000;font-family:'Open Sans', Arial, sans-serif;text-align:justify;background-color:#ffffff;\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <\/span><\/p>"
      },
      "position": 10,
      "status": "1",
      "featured": "0",
      "created_at": "2020-06-30T18:38:46.000000Z",
      "updated_at": "2020-06-30T18:38:46.000000Z"
    },
    {
      "id": 11,
      "title": {
        "en": "Home & Kitchen"
      },
      "icon": "fa-home",
      "image": "1593601495great-collection-hand-drawn-chef-items_23-2147630135.jpg",
      "description": {
        "en": "<p><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\">Online shopping for <\/span><span style=\"font-weight:bold;color:#5f6368;font-family:arial, sans-serif;background-color:#ffffff;\">Home and Kitchen<\/span><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\"> Appliances Offers from a great selection at Home &amp; emart Store.<\/span><\/p>"
      },
      "position": 11,
      "status": "1",
      "featured": "0",
      "created_at": "2020-07-01T16:34:55.000000Z",
      "updated_at": "2020-07-01T16:34:55.000000Z"
    },
    {
      "id": 12,
      "title": {
        "en": "Car & Motorbike"
      },
      "icon": "fa-car",
      "image": "1593601611car-road_23-2147932066.jpg",
      "description": {
        "en": "<p><span style=\"color:#70757a;font-family:arial, sans-serif;background-color:#ffffff;\"> <\/span><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\">If you're looking for a new <\/span><span style=\"font-weight:bold;color:#5f6368;font-family:arial, sans-serif;background-color:#ffffff;\">vehicle<\/span><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\">, you may have to choose between a <\/span><span style=\"font-weight:bold;color:#5f6368;font-family:arial, sans-serif;background-color:#ffffff;\">motorcycle<\/span><span style=\"color:#4d5156;font-family:arial, sans-serif;background-color:#ffffff;\"> and a <\/span><span style=\"color:#5f6368;font-family:arial, sans-serif;background-color:#ffffff;\"><strong>car<\/strong>, check our emart store .<\/span><\/p>"
      },
      "position": 12,
      "status": "1",
      "featured": "0",
      "created_at": "2020-07-01T16:36:51.000000Z",
      "updated_at": "2020-07-01T16:36:51.000000Z"
    },
    {
      "id": 13,
      "title": {
        "en": "Fitness & Exercise"
      },
      "icon": "fa-bandcamp",
      "image": null,
      "description": {
        "en": "<p> <\/p><p>\r\n\r\n\r\n\r\nPhysical fitness\r\n<span>Physical fitness is a state of health and well‑being and, more specifically, the <\/span>\r\n\r\n\r\n<\/p>"
      },
      "position": 13,
      "status": "1",
      "featured": "0",
      "created_at": "2020-07-09T17:54:47.000000Z",
      "updated_at": "2020-07-09T18:24:50.000000Z"
    },
    {
      "id": 14,
      "title": {
        "en": "Test"
      },
      "icon": null,
      "image": null,
      "description": null,
      "position": 14,
      "status": "1",
      "featured": "1",
      "created_at": "2020-11-10T14:11:22.000000Z",
      "updated_at": "2020-11-10T14:11:22.000000Z"
    }
  ]
}

If response fail

{
  "errors": "Secret Key is required",
  "status": "fail"
}
{
  "errors": "Invalid Secret Key !",
  "status": "fail"
}

Last updated