Get All Brands

Get all brands by firing this api.

This endpoint allows you to get all the active brands.

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

Query Parameters

NameTypeDescription

secret

string

Client secret key which you obtain from admin panel.

Accept

string

application/json

[
  {
    "id": 1,
    "category_id": [
      "2",
      "4"
    ],
    "name": "Apple",
    "image": "15957760761582115025brand3.png",
    "status": "1",
    "created_at": "2020-01-15T13:16:35.000000Z",
    "updated_at": "2020-07-26T17:07:56.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 2,
    "category_id": [
      "3"
    ],
    "name": "Nike",
    "image": "15957760601582115013brand2.png",
    "status": "1",
    "created_at": "2020-01-15T13:16:51.000000Z",
    "updated_at": "2020-07-26T17:07:40.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 3,
    "category_id": [
      "2"
    ],
    "name": "Canon",
    "image": "15957760441582114999brand1.png",
    "status": "1",
    "created_at": "2020-01-15T13:17:02.000000Z",
    "updated_at": "2020-07-26T17:07:24.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 4,
    "category_id": [
      "3"
    ],
    "name": "Under Armour",
    "image": "15957760211580794558b-logo7.png",
    "status": "1",
    "created_at": "2020-01-15T13:17:19.000000Z",
    "updated_at": "2020-07-26T17:07:01.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 5,
    "category_id": [
      "3",
      "4"
    ],
    "name": "Casio",
    "image": "15957760041580794558b-logo7.png",
    "status": "1",
    "created_at": "2020-01-15T13:17:50.000000Z",
    "updated_at": "2020-07-26T17:06:44.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 6,
    "category_id": [
      "2"
    ],
    "name": "Espn",
    "image": "15957758611582114965b-logo5.png",
    "status": "1",
    "created_at": "2020-01-15T13:20:24.000000Z",
    "updated_at": "2020-07-26T17:04:21.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 7,
    "category_id": [
      "3",
      "4"
    ],
    "name": "Fossil",
    "image": "15957759751582114954b-logo4.png",
    "status": "1",
    "created_at": "2020-01-15T13:20:39.000000Z",
    "updated_at": "2020-07-26T17:06:15.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 8,
    "category_id": [
      "1"
    ],
    "name": "Hooker",
    "image": "15957759601580794577b-logo2.png",
    "status": "1",
    "created_at": "2020-01-15T13:20:53.000000Z",
    "updated_at": "2020-07-26T17:06:01.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 9,
    "category_id": [
      "2"
    ],
    "name": "Hewlett Packard",
    "image": "15957759381582114931b-logo3.png",
    "status": "1",
    "created_at": "2020-01-15T13:21:18.000000Z",
    "updated_at": "2020-07-26T17:05:38.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 10,
    "category_id": [
      "2"
    ],
    "name": "Lenovo",
    "image": "15957759121582114921b-logo1.png",
    "status": "1",
    "created_at": "2020-01-15T13:21:29.000000Z",
    "updated_at": "2020-07-26T17:05:12.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 11,
    "category_id": [
      "3"
    ],
    "name": "United Colors Of Bentton",
    "image": "15957758771582114909brand6.png",
    "status": "1",
    "created_at": "2020-01-15T13:21:52.000000Z",
    "updated_at": "2020-07-26T17:04:37.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 12,
    "category_id": [
      "1",
      "2",
      "3",
      "4"
    ],
    "name": "eMart",
    "image": "15957757851579090933logo.png",
    "status": "1",
    "created_at": "2020-01-15T13:22:14.000000Z",
    "updated_at": "2020-07-26T17:03:05.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 15,
    "category_id": [
      "6"
    ],
    "name": "Grocery",
    "image": "15957757561594115699grocery-store-banner-food-drinks-set-icons-vector-14646065.jpg",
    "status": "1",
    "created_at": "2020-07-07T11:54:59.000000Z",
    "updated_at": "2020-07-26T17:02:36.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  },
  {
    "id": 17,
    "category_id": null,
    "name": "Test",
    "image": null,
    "status": "1",
    "created_at": "2020-11-10T09:41:22.000000Z",
    "updated_at": "2020-12-09T01:11:59.000000Z",
    "show_image": "1",
    "is_requested": 0,
    "brand_proof": null
  }
]

IF response fail

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

Last updated