---
# System prepended metadata

title: Evaly Core Product Module Admin V2 API's

---

# Evaly Core Product Module Admin V2 API's

```
<core_base_url> == https://api-beta.evaly.com.bd/core 
```

### End Points

## Attribute list


* **<core_base_url>/v2/admin/attributes/**

```
requested_url:
<core_base_url>/v2/admin/attributes/

Filters:{
    category: category_slug
}

request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
  "count": 10718,
  "next": "http://127.0.0.1:8000/v2/admin/attributes/?name=size&page=2",
  "previous": null,
  "results": [
    {
      "id": 11352,
      "name": "Size",
      "slug": "size-72f3af7e4",
      "approved": true,
      "category": 5917
    },
    {
      "id": 11351,
      "name": "Color",
      "slug": "color-e01c8360c",
      "approved": true,
      "category": 5917
    }
    ]
    .........
}

```

## Attribute Details

* **<core_base_url>/v2/admin/attributes/{id}/**

```
requested_url:
<core_base_url>/v2/admin/attributes/11352/


request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
  "id": 11352,
  "name": "Size",
  "slug": "size-72f3af7e4",
  "approved": true,
  "category": 5917,
  "status": "active"
}

```


## Create Attribute
* **<core_base_url>/v2/admin/attributes/**

```
request_method--POST

--header
     Authorization: bearer {token}

Example Request Body:
{
  "name": "string",
  "slug": "string",
  "approved": true,
  "category": 0,
  "status": "active"
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "approved": true,
  "category": 0,
  "status": "active"
}

```


## Update Attribute
* **<core_base_url>/v2/admin/attributes/{id}/**

```
request_method--PUT/PATCH

--header
     Authorization: bearer {token}

Example Request Body:
{
  "name": "string",
  "slug": "string",
  "approved": true,
  "category": 0,
  "status": "active"
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "approved": true,
  "category": 0,
  "status": "active"
}

```

## Delete Attribute 
* **<core_base_url>/v2/admin/attributes/{id}/**

```
request_method--DELETE

request_url:
<core_base_url>/v2/admin/attributes/11348/

--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "id": 11348,
  "name": "Shahi Bro",
  "slug": "shahi-bro-166aed287",
  "approved": true,
  "category": 5968,
  "status": "archived"
}

```

## Attribute Values List
* **<core_base_url>/v2/admin/attribute-values/**

```


request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
    "count": 82380,
    "next": "http://127.0.0.1:8000/v2/admin/attribute-values/?page=2",
    "previous": null,
    "results": [
    {
      "id": 85394,
      "name": "L",
      "attribute": 11352
    },
    {
      "id": 85393,
      "name": "M",
      "attribute": 11352
    },
    {
      "id": 85392,
      "name": "S",
      "attribute": 11352
    },
    {
      "id": 85391,
      "name": "Red",
      "attribute": 11351
    }
    ]
    .........
}

```

## Attribute Values details
* **<core_base_url>/v2/admin/attribute-values/{id}/**

```
request_url:
<core_base_url>/v2/admin/attribute-values/85394/

request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:

{
  "id": 85394,
  "name": "L",
  "attribute": 11352,
  "status": "active"
}
```


## Create Attribute Values
* **<core_base_url>/v2/admin/attribute-values/**

```
request_method--POST

--header
     Authorization: bearer {token}

Request Body:
{
  "name": "string",
  "attribute": 0,
  "status": "active"
}


Example Response Body:

{
  "id": 0,
  "name": "string",
  "attribute": 0,
  "status": "active"
}

```

## Update Attribute Values
* **<core_base_url>/v2/admin/attribute-values/{id}/**

```
request_method--PUT/PATCH

--header
     Authorization: bearer {token}

Request Body:
{
  "name": "string",
  "attribute": 0,
  "status": "active"
}


Example Response Body:

{
  "id": 0,
  "name": "string",
  "attribute": 0,
  "status": "active"
}

```

## Delete Attribute Values
* **<core_base_url>/v2/admin/attribute-values/{id}/**

```
request_url:
<core_base_url>/v2/admin/attribute-values/85386/

request_method--DELETE

--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:

{
  "id": 85386,
  "name": "AaaBbb",
  "attribute": 11348,
  "status": "archived"
}

```


## Brand Type List
* **<core_base_url>/v2/admin/brand-type-list/**

```
request_method--GET


--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "data": [
    "general",
    "book",
    "medicine",
    "sentinal",
    "non brand"
  ]
}
```


## Brand List
* **<core_base_url>/v2/admin/brands/**

```


request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
    "count": 22107,
    "next": "http://127.0.0.1:8000/v2/admin/brands/?page=2",
    "previous": null,
    "results": [
    {
      "id": 26450,
      "name": "Evaly 101",
      "slug": "evaly-101-f795204ee",
      "brand_type": "general",
      "approved": false,
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/51a8c6d28da2-samsung-galaxy-note10-lite-1.jpg",
      "status": "active",
      "brand_score": 100
    },
    {
      "id": 26449,
      "name": "Coffee",
      "slug": "coffee-46ce98b6f",
      "brand_type": "non brand",
      "approved": false,
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/51c9cf0df19a-newfile.jpeg",
      "status": "active",
      "brand_score": 10
    }
    ]
    .........
}
```

## Brand Details
* **<core_base_url>/v2/admin/brands/{id}/**

```
request_url:
<core_base_url>/v2/admin/brands/26448/

request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
  "id": 26448,
  "name": "TESTTESTTEST",
  "slug": "testtesttest-ce0c31f87",
  "brand_type": "general",
  "approved": false,
  "description": null,
  "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/034c1faa2140-newfile.jpeg",
  "status": "active",
  "brand_score": 1000
}

```


## Create Brand
* **<core_base_url>/v2/admin/brands/**

```
request_method--POST

--header
     Authorization: bearer {token}

Request Body:
{
  "name": "string",
  "slug": "string",
  "brand_type": "general",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "status": "active",
  "brand_score": 0
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "brand_type": "general",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "status": "active",
  "brand_score": 0
}


```

## Update Brand
* **<core_base_url>/v2/admin/brands/{id}/**

```
request_method--PUT/PATCH

--header
     Authorization: bearer {token}

Request Body:
{
  "name": "string",
  "slug": "string",
  "brand_type": "general",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "status": "active",
  "brand_score": 0
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "brand_type": "general",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "status": "active",
  "brand_score": 0
}


```

## Delete Brand
* **<core_base_url>/v2/admin/brands/{id}/**

```
request_url:
<core_base_url>/v2/admin/brands/26448/

request_method--DELETE

--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "id": 26448,
  "name": "TESTTESTTEST",
  "slug": "testtesttest-ce0c31f87",
  "brand_type": "general",
  "approved": false,
  "description": null,
  "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/034c1faa2140-newfile.jpeg",
  "status": "archived",
  "brand_score": 1000
}


```


## Categories List
* **<core_base_url>/v2/admin/categories/**

```
request_url:
<core_base_url>/v2/admin/categories/?page=1&limit=3


request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
  "count": 5789,
  "next": "http://127.0.0.1:8000/v2/admin/categories/?limit=3&page=2",
  "previous": null,
  "results": [
    {
      "id": 6185,
      "name": "abc",
      "slug": "abc-d8b382fa6",
      "approved": false,
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/fdd62664844d-newfile.jpeg",
      "department": 14,
      "status": "active"
    },
    {
      "id": 6184,
      "name": "coffee cl",
      "slug": "coffee-cl-a298d9101",
      "approved": false,
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/4e6e3658f60e-newfile.jpeg",
      "department": 3,
      "status": "active"
    },
    {
      "id": 6183,
      "name": "coffee test",
      "slug": "coffee-test-f58679ed2",
      "approved": false,
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/f6d15a4ccfa8-newfile.jpeg",
      "department": 3,
      "status": "active"
    }
  ]
}

```

## Category Details
* **<core_base_url>/v2/admin/categories/{id}/**

```
request_url:
<core_base_url>/v2/admin/categories/6183/

request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
  "id": 6183,
  "name": "coffee test",
  "slug": "coffee-test-f58679ed2",
  "approved": false,
  "description": null,
  "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/f6d15a4ccfa8-newfile.jpeg",
  "parent": 4794,
  "department": 3,
  "status": "active",
  "score": 600000
}

```


## Create Category
* **<core_base_url>/v2/admin/categories/**

```
request_method--POST

--header
     Authorization: bearer {token}

Request Body:
{
  "name": "string",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "parent": 0,
  "department": 0,
  "status": "active",
  "score": -2147483648
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "parent": 0,
  "department": 0,
  "status": "active",
  "score": -2147483648
}


```

## Update Category
* **<core_base_url>/v2/admin/categories/{id}/**

```
request_method--PUT/PATCH

--header
     Authorization: bearer {token}

Request Body:
{
  "name": "string",
  "slug": "string",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "parent": 0,
  "department": 0,
  "status": "active",
  "score": -2147483648
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "parent": 0,
  "department": 0,
  "status": "active",
  "score": -2147483648
}

```

## Delete Category
* **<core_base_url>/v2/admin/categories/{id}/**

```
request_url:
<core_base_url>/v2/admin/categories/6183/

request_method--DELETE

--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "id": 6183,
  "name": "coffee test",
  "slug": "coffee-test-f58679ed2",
  "approved": false,
  "description": null,
  "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/f6d15a4ccfa8-newfile.jpeg",
  "parent": 4794,
  "department": 3,
  "status": "archived",
  "score": 600000
}


```



## Parent wise Child Categories List
* **<core_base_url>/v2/admin/child-categories/?parent={parent_category_slug}**

```
request_url:
<core_base_url>/v2/admin/child-categories/?parent=category-name-nadf4-bacc765

Filters:{
    'status': 'archived', 'active',
    'approved': true/false
    'created_date', 'search': category name
}


request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
  "count": 4,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 6231,
      "name": "Test 2 updated",
      "slug": "test-2-5d1544b73",
      "approved": true,
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e0546b5e05e8-express.jpg",
      "status": "active",
      "created_at": "2021-08-09T13:48:04.345101Z",
      "created_by": "cms.all"
    },
    {
      "id": 6229,
      "name": "Test",
      "slug": "test-182d9f57d",
      "approved": false,
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e0546b5e05e8-express.jpg",
      "status": "active",
      "created_at": "2021-08-09T12:52:02.244937Z",
      "created_by": "ishak"
    },
    {
      "id": 6226,
      "name": "Milky way11 edit",
      "slug": "milky-way11-6938001ff",
      "approved": true,
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e0546b5e05e8-express.jpg",
      "status": "active",
      "created_at": "2021-08-09T12:07:52.790928Z",
      "created_by": "ishak"
    },
    {
      "id": 6214,
      "name": "Milky way",
      "slug": "milky-way-6975f3975",
      "approved": false,
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e0546b5e05e8-express.jpg",
      "status": "active",
      "created_at": "2021-08-03T22:09:30.770906Z",
      "created_by": "cms.all"
    }
  ]
}

```




## Child Category Details
* **<core_base_url>/v2/admin/child-categories/{id}/**

```

request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
  "id": 6226,
  "name": "Milky way11 edit",
  "slug": "milky-way11-6938001ff",
  "approved": true,
  "description": null,
  "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e0546b5e05e8-express.jpg",
  "parent": 6210,
  "department": 13,
  "status": "active",
  "score": 7483648
}

```


## Create Child Category
* **<core_base_url>/v2/admin/child-categories/**

```
request_method--POST

--header
     Authorization: bearer {token}

Request Body:
{
	"name": "Test 2",
	"approved": false,
	"image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e0546b5e05e8-express.jpg",
	"parent":6210,
	"score": 7483648
}


Example Response Body:
{
  "id": 6231,
  "name": "Test 2",
  "slug": "test-2-5d1544b73",
  "approved": false,
  "description": null,
  "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e0546b5e05e8-express.jpg",
  "parent": 6210,
  "department": 13,
  "status": "active",
  "score": 7483648
}


```

## Update Category
* **<core_base_url>/v2/admin/child-categories/{id}/**

```
request_method--PATCH

--header
     Authorization: bearer {token}

Request Body:
{
	"name": "Test 2 updated",
	"approved": true
}


Example Response Body:
{
  "id": 6231,
  "name": "Test 2 updated",
  "slug": "test-2-5d1544b73",
  "approved": true,
  "description": null,
  "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e0546b5e05e8-express.jpg",
  "parent": 6210,
  "department": 13,
  "status": "active",
  "score": 7483648
}

```

## Delete Child Category
* **<core_base_url>/v2/admin/categories/{id}/**

```
request_url:
<core_base_url>/v2/admin/categories/6230/

request_method--DELETE

--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "id": 6230,
  "name": "Test 2",
  "slug": "test-2-f5f6efcea",
  "approved": false,
  "description": null,
  "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e0546b5e05e8-express.jpg",
  "parent": 6210,
  "department": 13,
  "status": "archived",
  "score": 7483648
}


```






## Department List
* **<core_base_url>/v2/admin/departments/**

```
request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
  "count": 14,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 14,
      "name": "Agricultural",
      "slug": "agricultural-cd98ccc2d",
      "approved": true,
      "image_url": null
    },
    {
      "id": 13,
      "name": "Art, Craft, Personalized shops",
      "slug": "art-craft-personalized-shops-d608e122d",
      "approved": true,
      "image_url": null
    },
    {
      "id": 12,
      "name": "Corporate",
      "slug": "corporate-b672cba01",
      "approved": true,
      "image_url": null
    }
    ]
    ......
}

```

## Department Details
* **<core_base_url>/v2/admin/departments/{id}/**

```
request_url:
<core_base_url>/v2/admin/departments/14/

request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
  "id": 14,
  "name": "Agricultural",
  "slug": "agricultural-cd98ccc2d",
  "approved": true,
  "description": null,
  "image_url": null,
  "status": "active"
}

```


## Create Department
* **<core_base_url>/v2/admin/departments/**

```
request_method--POST

--header
     Authorization: bearer {token}

Request Body:
{
  "name": "string",
  "slug": "string",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "status": "active"
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "status": "active"
}


```

## Update Department
* **<core_base_url>/v2/admin/departments/{id}/**

```
request_method--PUT/PATCH

--header
     Authorization: bearer {token}

Request Body:
{
  "name": "string",
  "slug": "string",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "status": "active"
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "approved": true,
  "description": "string",
  "image_url": "string",
  "status": "active"
}

```

## Delete Department
* **<core_base_url>/v2/admin/departments/{id}/**

```
request_url:
<core_base_url>/v2/admin/departments/14/

request_method--DELETE

--header
     Authorization: bearer {token}

No Request Body Required


Example Response Body:
{
  "id": 14,
  "name": "Agricultural",
  "slug": "agricultural-cd98ccc2d",
  "approved": true,
  "description": null,
  "image_url": null,
  "status": "archived"
}

```

## Product List
* **<core_base_url>/v2/admin/products/**

```
request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
  "count": 378983,
  "next": "http://127.0.0.1:8000/v2/admin/products/?page=2",
  "previous": null,
  "results": [
    {
      "id": 425606,
      "name": "Cyclone",
      "slug": "cyclone-aa0d4e223",
      "approved": false,
      "image_urls": [
        "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNDQ3YzdkNWM2Yjc0LTQ3YmVkODk3Yjg3Yi1oci1lci0wMDYuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMjAwLCAiaGVpZ2h0IjogMjAwLCAiZml0IjogImNvbnRhaW4ifSwgImJhY2tncm91bmQiOiB7InIiOiAyNTUsICJnIjogMjU1LCAiYiI6IDI1NSwgImFscGhhIjogMX0sICJmbGF0dGVuIjogdHJ1ZSwgImpwZWciOiB7InF1YWxpdHkiOiA3NX19fQ=="
      ],
      "tags": [
        "tea"
      ],
      "max_price": null,
      "min_price": null,
      "min_discounted_price": null,
      "status": "active"
    },
    {
      "id": 425605,
      "name": "haribhangaa-aam",
      "slug": "haribhangaa-aam-0fb9820e6",
      "approved": true,
      "image_urls": [
        "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvY2E4NmIxMTgxMTFjLWhhcmliaGFuZ2EuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMjAwLCAiaGVpZ2h0IjogMjAwLCAiZml0IjogImNvbnRhaW4ifSwgImJhY2tncm91bmQiOiB7InIiOiAyNTUsICJnIjogMjU1LCAiYiI6IDI1NSwgImFscGhhIjogMX0sICJmbGF0dGVuIjogdHJ1ZSwgImpwZWciOiB7InF1YWxpdHkiOiA3NX19fQ=="
      ],
      "tags": [
        "aam",
        "mango",
        "haribhanga"
      ],
      "max_price": "8000.00",
      "min_price": "78.00",
      "min_discounted_price": "68.00",
      "status": "active"
    }
    ]
    ........
}

```

## Product Details
* **<core_base_url>/v2/admin/products/{product_slug}/**

```
request_url:
<core_base_url>/v2/admin/products/wall-e-d67175b64/

request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.


Example Response Body:
{
  "id": 425601,
  "name": "Wall-E",
  "slug": "wall-e-d67175b64",
  "description": "Inspired from my favorite Cartoon Wall-E",
  "approved": true,
  "price_type": "fixed",
  "max_price": "10000.00",
  "min_price": "10000.00",
  "min_discounted_price": "200000.00",
  "tags": [
    "Wall-E",
    "Robo"
  ],
  "brand": {
    "name": "Mango Brand",
    "slug": "mango-brand-8b0c912de",
    "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/f6a18e51c48e-mango_and_cross_section_edit.jpg"
  },
  "category": {
    "name": "Gadget Repair",
    "slug": "gadget-repair-66d3f5b82"
  },
  "image_urls": [
    "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvYmZjNWJhZDBkN2Y4LXBob3RvLTE1ODkyNTQwNjYwMDctODk4ZDUyZDkxMGQzLmpwZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIn0sICJiYWNrZ3JvdW5kIjogeyJyIjogMjU1LCAiZyI6IDI1NSwgImIiOiAyNTUsICJhbHBoYSI6IDF9LCAiZmxhdHRlbiI6IHRydWUsICJqcGVnIjogeyJxdWFsaXR5IjogNzV9fX0="
  ],
  "original_image_urls": [
    "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/bfc5bad0d7f8-photo-1589254066007-898d52d910d3.jpg"
  ],
  "status": "active",
  "sku": "0x67e81",
  "product_specifications": [
    {
      "id": 1708326,
      "specification_name": "",
      "specification_value": ""
    }
  ],
  "product_score": 0
}

```


## Create Product
* **<core_base_url>/v2/admin/products/**

```
request_method--POST

--header
     Authorization: bearer {token}

Request Body:
{
  "name": "string",
  "slug": "string",
  "description": "string",
  "approved": true,
  "price_type": "fixed",
  "max_price": "string",
  "min_price": "string",
  "min_discounted_price": "string",
  "brand": 0,
  "category": 0,
  "image_urls": [
    "string"
  ],
  "status": "active",
  "product_score": 0
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "description": "string",
  "approved": true,
  "price_type": "fixed",
  "max_price": "string",
  "min_price": "string",
  "min_discounted_price": "string",
  "brand": 0,
  "category": 0,
  "image_urls": [
    "string"
  ],
  "status": "active",
  "product_score": 0,
  "tags": "string"
}

```

## Update Product
* **<core_base_url>/v2/admin/products/{id}/**

```
request_method--PUT/PATCH

--header
     Authorization: bearer {token}

Request Body:
{
  "name": "string",
  "slug": "string",
  "description": "string",
  "approved": true,
  "price_type": "fixed",
  "max_price": "string",
  "min_price": "string",
  "min_discounted_price": "string",
  "brand": 0,
  "category": 0,
  "image_urls": [
    "string"
  ],
  "status": "active",
  "product_score": 0
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "description": "string",
  "approved": true,
  "price_type": "fixed",
  "max_price": "string",
  "min_price": "string",
  "min_discounted_price": "string",
  "brand": 0,
  "category": 0,
  "image_urls": [
    "string"
  ],
  "status": "active",
  "product_score": 0,
  "tags": "string"
}

```

## Delete Product
* **<core_base_url>/v2/admin/products/{product_slug}/**

```
request_url:
<core_base_url>/v2/admin/products/wall-e-d67175b64/

request_method--DELETE

--header
     Authorization: bearer {token}

No Request Body Required


Example Response Body:
{
  "id": 425601,
  "name": "Wall-E",
  "slug": "wall-e-d67175b64",
  "description": "Inspired from my favorite Cartoon Wall-E",
  "approved": true,
  "price_type": "fixed",
  "max_price": "10000.00",
  "min_price": "10000.00",
  "min_discounted_price": "200000.00",
  "tags": [
    "Wall-E",
    "Robo"
  ],
  "brand": {
    "name": "Mango Brand",
    "slug": "mango-brand-8b0c912de",
    "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/f6a18e51c48e-mango_and_cross_section_edit.jpg"
  },
  "category": {
    "name": "Gadget Repair",
    "slug": "gadget-repair-66d3f5b82"
  },
  "image_urls": [
    "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvYmZjNWJhZDBkN2Y4LXBob3RvLTE1ODkyNTQwNjYwMDctODk4ZDUyZDkxMGQzLmpwZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIn0sICJiYWNrZ3JvdW5kIjogeyJyIjogMjU1LCAiZyI6IDI1NSwgImIiOiAyNTUsICJhbHBoYSI6IDF9LCAiZmxhdHRlbiI6IHRydWUsICJqcGVnIjogeyJxdWFsaXR5IjogNzV9fX0="
  ],
  "original_image_urls": [
    "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/bfc5bad0d7f8-photo-1589254066007-898d52d910d3.jpg"
  ],
  "status": "archived",
  "sku": "0x67e81",
  "product_specifications": [
    {
      "id": 1708326,
      "specification_name": "",
      "specification_value": ""
    }
  ],
  "product_score": 0
}

```


## Category Management
* **<core_base_url>/v2/admin/admin-management/categories/**

```
request_method--GET

--header
     Authorization: bearer {token}

No Request Body Required

Query_params:
{
    'search', 'parent'    
}


Example Response Body:
[
  {
    "id": 5966,
    "name": "111",
    "slug": "111-e9c66e8d8",
    "image_url": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvZGU1NDQyZTM5NjczLWJhc3Vlcy1zcGVha2VyLmpwZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIiwgImJhY2tncm91bmQiOiB7InIiOiAwLCAiZyI6IDAsICJiIjogMCwgImFscGhhIjogMH19LCAicG5nIjogeyJhZGFwdGl2ZUZpbHRlcmluZyI6IHRydWUsICJwcm9ncmVzc2l2ZSI6IHRydWUsICJmb3JjZSI6IHRydWV9fX0=",
    "approved": true,
    "parent": null,
    "department": 14,
    "score": 66000
  },
  {
    "id": 5968,
    "name": "11CC Category",
    "slug": "11cc-category-0f4ace9fc",
    "image_url": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvOTE4YzQ5YWY1YzFiLWV4cHJlc3MtZm9vZC5wbmciLCAiZWRpdHMiOiB7InJlc2l6ZSI6IHsid2lkdGgiOiAyNTAsICJoZWlnaHQiOiAyNTAsICJmaXQiOiAiY29udGFpbiIsICJiYWNrZ3JvdW5kIjogeyJyIjogMCwgImciOiAwLCAiYiI6IDAsICJhbHBoYSI6IDB9fSwgInBuZyI6IHsiYWRhcHRpdmVGaWx0ZXJpbmciOiB0cnVlLCAicHJvZ3Jlc3NpdmUiOiB0cnVlLCAiZm9yY2UiOiB0cnVlfX19",
    "approved": true,
    "parent": null,
    "department": 13,
    "score": 100
  }
 ]

```

## Approve Product Review

* **<core_base_url>/v2/admin/approve-product-review/{id}/**

```
request_method--PUT


request_url:
<core_base_url>/v2/admin/approve-product-review/1/


--header
     Authorization: bearer {token}

Request Body:
{
	"status":"active"
}


Example Response Body:
{
  "data": {
    "id": 1,
    "user_name": "Ila",
    "phone": "01750265167",
    "rating_text": "1231",
    "rating_value": 5,
    "created_at": "2020-12-01T09:25:55.223825Z",
    "time": "2020-12-01T09:25:55.223825Z",
    "is_approved": 1,
    "status": "active",
    "profile_image": "",
    "product": {
      "product_name": "back cover",
      "product_slug": "back-cover-d0d4f99c9"
    }
  }
}

```


## View Product Reviews
* **<core_base_url>/v2/admin/product-reviews/{product_slug}/**

```
request_method--GET


request_url:
<core_base_url>/v2/admin/product-reviews/back-cover-d0d4f99c9/


--header
     Authorization: bearer {token}

No Request Body Required


Example Response Body:
{
  "data": [
    {
      "id": 1,
      "user_name": "Ila",
      "phone": "01750265167",
      "rating_text": "1231",
      "rating_value": 5,
      "created_at": "2020-12-01T09:25:55.223825Z",
      "time": "2020-12-01T09:25:55.223825Z",
      "is_approved": 1,
      "status": "active",
      "profile_image": "",
      "product": {
        "product_name": "back cover",
        "product_slug": "back-cover-d0d4f99c9"
      }
    }
  ],
  "meta": {
    "count": 1
  }
}

```


## Product Review Summary
* **<core_base_url>/v2/admin/product-review-summary/{product_slug}/**

```
request_method--GET


request_url:
<core_base_url>/v2/admin/product-review-summary/back-cover-d0d4f99c9/


--header
     Authorization: bearer {token}

No Request Body Required


Example Response Body:
{
  "data": {
    "total_ratings": 1,
    "avg_rating": 5.0,
    "star_5": 1,
    "star_4": 0,
    "star_3": 0,
    "star_2": 0,
    "star_1": 0
  }
}

```


## Create Product Variant
* **<core_base_url>/v2/admin/custom/create/product-variant/{product_id}/**

```
request_method--POST


request_url:
<core_base_url>/v2/admin/custom/create/product-variant/425606/


--header
     Authorization: bearer {token}

Request Body:
{
    "variations":
    [
        {
            "id":11351,
            "values":
            [
                {
                    "id":85390,
                    "images":
                    [
                        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/4fc28bb181e2-47bed897b87b-hr-er-006.jpg"
                    ]
                },
                {
                    "id":85389,
                    "images":
                    [
                        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/46b0e8243c5b-click3.jpg"
                    ]
                }
            ]
        },
        {
            "id":11352,
            "values":[
                {
                    "id":85392
                },
                {
                    "id":85394
                },
                {
                    "id":85393
                }
            ]
        }
    ]
}

Example Response Body:
{
  "success": true,
  "message": "product variant created successfully",
  "data": [
    {
      "id": 527225,
      "image_urls": [
        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/4fc28bb181e2-47bed897b87b-hr-er-006.jpg"
      ],
      "status": "active"
    },
    {
      "id": 527226,
      "image_urls": [
        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/4fc28bb181e2-47bed897b87b-hr-er-006.jpg"
      ],
      "status": "active"
    },
    {
      "id": 527227,
      "image_urls": [
        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/4fc28bb181e2-47bed897b87b-hr-er-006.jpg"
      ],
      "status": "active"
    },
    {
      "id": 527228,
      "image_urls": [
        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/46b0e8243c5b-click3.jpg"
      ],
      "status": "active"
    },
    {
      "id": 527229,
      "image_urls": [
        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/46b0e8243c5b-click3.jpg"
      ],
      "status": "active"
    },
    {
      "id": 527230,
      "image_urls": [
        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/46b0e8243c5b-click3.jpg"
      ],
      "status": "active"
    }
  ]
}

```


## Product variant List
* **<core_base_url>/v2/admin/product-variants/**

```
request_method--GET


--header
     Authorization: bearer {token}

No Request Body Required


Example Response Body:
{
  "count": 510908,
  "next": "http://127.0.0.1:8000/v2/admin/product-variants/?page=2",
  "previous": null,
  "results": [
    {
      "id": 527230,
      "image_urls": [
        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/46b0e8243c5b-click3.jpg"
      ],
      "status": "active"
    },
    {
      "id": 527229,
      "image_urls": [
        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/46b0e8243c5b-click3.jpg"
      ],
      "status": "active"
    }
    ]
    .......
}

```


## Update Product Variant
* **<core_base_url>/v2/admin/update-product-variant/{variant_id}/**

```
request_method--PUT


request_url:
<core_base_url>/v2/admin/update-product-variant/527225/


--header
     Authorization: bearer {token}

Request Body:
{
    "image_urls":
    [
        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/4fc28bb181e2-47bed897b87b-hr-er-006.jpg"
    ]
}


Example Response Body:
{
  "success": true,
  "message": "product variant updated successfully",
  "data": {
    "id": 527225,
    "product": 425606,
    "image_urls": [
      "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/4fc28bb181e2-47bed897b87b-hr-er-006.jpg"
    ],
    "status": "active"
  }
}


```


## Delete Product Variant
* **<core_base_url>/v2/admin/delete-product-variant/{variant_id}/**

```
request_method--PUT


request_url:
<core_base_url>/v2/admin/delete-product-variant/527225/


--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "success": true,
  "message": "product variant updated successfully",
  "data": {
    "id": 527225,
    "product": 425606,
    "image_urls": [
      "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/4fc28bb181e2-47bed897b87b-hr-er-006.jpg"
    ],
    "status": "archived"
  }
}


```

## Shop Wise Products
* **<core_base_url>/v2/admin/product/shops/{product_variant_id}/**

```
request_method--GET


request_url:
<core_base_url>/v2/admin/product/shops/527174/


--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "success": true,
  "message": "product shop fetched successfully",
  "data": [
    {
      "shop_slug": "cyclone-for-30th-july-for-coffee-with-karan-2e1e9b6b",
      "shop_name": "Cyclone for 30th July for Coffee with karan",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/89da76c067a4-newfile.jpeg",
      "shop_owner": "01323432123",
      "shop_address": "Shaheed Tajuddin Ahmed Avenue, Dhaka 1212, Bangladesh",
      "shop_item_id": 7975,
      "price": 8000.0,
      "seller_price": 1000.0,
      "contact_number": "0",
      "discount_value": 10.0,
      "discount_type": "percentage",
      "discounted_price": 7200.0,
      "in_stock": 1,
      "stock_item": 0
    },
    {
      "shop_slug": "test-shop-516c0d6",
      "shop_name": "test shop",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/3a042122e486-newfile.jpeg",
      "shop_owner": "01323432123",
      "shop_address": "70 Shaheed Tajuddin Ahmed Ave, Dhaka 1212, Bangladesh",
      "shop_item_id": 8375,
      "price": 4945.0,
      "seller_price": 4925.0,
      "contact_number": "01623334522",
      "discount_value": 0.0,
      "discount_type": "flat",
      "discounted_price": 4945.0,
      "in_stock": 15000,
      "stock_item": 0
    }
    ]
    .......
}


```


## Trending Product List
* **<core_base_url>/v2/admin/trending-products/**

```
request_method--GET


--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "data": [
    {
      "product_type": "trending",
      "id": 10,
      "status": "active",
      "min_price": 666.0,
      "max_price": 666.0,
      "product_name": "Apple",
      "product_slug": "apple-3a06ddff0",
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/4f495bd6445e-download-3.jpg",
      "category_name": "Stellar Astronomy",
      "category_slug": "stellar-astronomy-f979fc477",
      "brand_name": "Brand for HA books",
      "brand_slug": "brand-for-ha-books-7d318d5a7"
    },
    {
      "product_type": "trending",
      "id": 9,
      "status": "archived",
      "min_price": 550.0,
      "max_price": 600.0,
      "product_name": "Mamlamiraje",
      "product_slug": "mamlamiraje-be8c90a15",
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/4956b88f1f08-1b9f28193d24-1e536c10-a4d7-45a6-a978-dfb696a7cebc.jpeg",
      "category_name": "Crime and Communities",
      "category_slug": "crime-and-communities-7fd299f01",
      "brand_name": "Score Brand",
      "brand_slug": "score-brand-dcaa3ae66"
    }
    ]
    ........
}

```



## Create Trending Product
* **<core_base_url>/v2/admin/trending-products/**

```
request_method--POST


--header
     Authorization: bearer {token}

Request Body:
{
  "name": "string",
  "slug": "string",
  "approved": true,
  "max_price": "string",
  "min_price": "string",
  "min_discounted_price": "string",
  "status": "active"
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "approved": true,
  "image_urls": "string",
  "tags": "string",
  "max_price": "string",
  "min_price": "string",
  "min_discounted_price": "string",
  "status": "active"
}

```


## Delete Trending Product
* **<core_base_url>/v2/admin/delete-trending-product/**

```
request_method--PUT

request_url:
<core_base_url>/v2/admin/delete-trending-product/10/


--header
     Authorization: bearer {token}

Request Body:
{
  "status": "archived"
}


Example Response Body:
{
  "id": 0,
  "name": "string",
  "slug": "string",
  "approved": true,
  "image_urls": "string",
  "tags": "string",
  "max_price": "string",
  "min_price": "string",
  "min_discounted_price": "string",
  "status": "active"
}

```


## Product Details
* **<core_base_url>/v2/admin/products/{product_slug}/**

```
request_method--GET

request_url:
<core_base_url>/v2/admin/product/product-name-created-by-automation-1-fc1004d2a/


--header
     Authorization: bearer {token}

No Request Body Required


Example Response Body:
{
  "id": 425617,
  "name": "Product Name created by Automation 1",
  "slug": "product-name-created-by-automation-1-fc1004d2a",
  "description": "Product Description Created by Automation",
  "approved": false,
  "price_type": "fixed",
  "max_price": null,
  "min_price": null,
  "min_discounted_price": null,
  "tags": [],
  "brand": {
    "name": "Score Brand",
    "slug": "score-brand-dcaa3ae66",
    "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/ec031623acf7-basues-speaker.jpg"
  },
  "category": {
    "name": "Category Name1",
    "slug": "category-name1-b5e615ecf"
  },
  "image_urls": [
    "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNDYzNGE2NzM1OGVkLWV2YWx5LWJhbm5lci5qcGciLCAiZWRpdHMiOiB7InJlc2l6ZSI6IHsid2lkdGgiOiAyNTAsICJoZWlnaHQiOiAyNTAsICJmaXQiOiAiY29udGFpbiJ9LCAiYmFja2dyb3VuZCI6IHsiciI6IDI1NSwgImciOiAyNTUsICJiIjogMjU1LCAiYWxwaGEiOiAxfSwgImZsYXR0ZW4iOiB0cnVlLCAianBlZyI6IHsicXVhbGl0eSI6IDc1fX19"
  ],
  "original_image_urls": [
    "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/4634a67358ed-evaly-banner.jpg"
  ],
  "status": "active",
  "sku": "0x67e91",
  "product_specifications": [
    {
      "id": 1708343,
      "specification_name": "",
      "specification_value": ""
    }
  ],
  "product_score": 0
}

```


## Create Product
* **<core_base_url>/v2/admin/custom/create/product/**

```
request_method--POST


--header
     Authorization: bearer {token}

Request Body:
{
	"name": "test beans22",
	"score": 0,
	"image_urls": [
		"https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/39c9bbb878c7-new-product-coffeeculture-11.jpg"
	],
	"tags": [
		"coffee",
		"beans"
	],
	"specifications": [
		{
			"specification_name": "",
			"specification_value": ""
		}
	],
	"description": "Nothing to show here",
	"category": "coffee-197f384f0",
	"brand": "coffee-46ce98b6f"
}


Example Response Body:
{
  "success": true,
  "message": "product created successfully",
  "data": {
    "id": 425579,
    "name": "test beans22",
    "slug": "test-beans22-09d8ac03d",
    "description": "Nothing to show here",
    "approved": false,
    "price_type": "fixed",
    "max_price": null,
    "min_price": null,
    "min_discounted_price": null,
    "brand": 26449,
    "category": 4794,
    "image_urls": [
      "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/39c9bbb878c7-new-product-coffeeculture-11.jpg"
    ],
    "status": "active",
    "product_score": 0,
    "tags": [
      "coffee",
      "beans"
    ]
  }
}

```


## Approve Product
* **<core_base_url>/v2/admin/approve-product/{product_slug}/**

```
request_method--PUT


--header
     Authorization: bearer {token}

Request Body:
{
  "approved": true
}


Example Response Body:
{
  "success": true,
  "message": "Product approved successfully",
  "data": {
    "id": 425579,
    "name": "test beans22",
    "slug": "test-beans22-09d8ac03d",
    "description": "Nothing to show here",
    "approved": true,
    "price_type": "fixed",
    "max_price": null,
    "min_price": null,
    "min_discounted_price": null,
    "brand": 26449,
    "category": 4794,
    "image_urls": [
      "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/39c9bbb878c7-new-product-coffeeculture-11.jpg"
    ],
    "status": "active",
    "product_score": 0,
    "tags": [
      "coffee",
      "beans"
    ]
  }
}

```

## Update Product
* **<core_base_url>/v2/admin/custom/create/product/{product_slug}/**

```
request_method--PUT



--header
     Authorization: bearer {token}

Request Body:
{
	"name": "test beans22",
	"score": 0,
	"image_urls": [
		"https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/39c9bbb878c7-new-product-coffeeculture-11.jpg"
	],
	"tags": [
		"coffee",
		"beans"
	],
	"specifications": [
		{
			"specification_name": "",
			"specification_value": ""
		}
	],
	"description": "Nothing to show here",
	"category": "coffee-197f384f0",
	"brand": "coffee-46ce98b6f"
}


Example Response Body:
{
  "success": true,
  "message": "product updated successfully",
  "data": {
    "id": 425579,
    "name": "test beans22",
    "slug": "test-beans22-09d8ac03d",
    "description": "Nothing to show here",
    "approved": false,
    "price_type": "fixed",
    "max_price": null,
    "min_price": null,
    "min_discounted_price": null,
    "brand": 26449,
    "category": 4794,
    "image_urls": [
      "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/39c9bbb878c7-new-product-coffeeculture-11.jpg"
    ],
    "status": "active",
    "product_score": 0,
    "tags": [
      "coffee",
      "beans"
    ]
  }
}

```



## View Product History
* **<core_base_url>/v2/admin/products/history/{product_id}/**

```
request_method--GET

request_url:
<core_base_url>/v2/admin/products/history/425579/


--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "success": true,
  "message": "Product history fetched successfully",
  "data": [
    {
      "change_author": "Ishak Ahammed",
      "change_time": "2021-07-25T12:50:16.818671",
      "change_type": "Updated",
      "status": "approved.active",
      "change_author_groups": "ShopOwner,ShopManager,ShopAdmin,OrderManager,OrderAdmin,OrderCancel,ProductManager,ProductAdmin,VoucherViewer,VoucherManager,VoucherAdmin,CategoryManager,BrandManager,BalanceManager,ChatAdmin,ChatManager,NoteEntry,NoteManager,EvalyEmployee,AccountsManager,OrderStatusUpdate,AccountsAdmin,BulkPermission,EkhataAdmin,RefundManager,HeroManager,BulkAdmin,CampaignManager,CampaignAdmin,NotificationManager,TechSupport,IssueResolutionManager,IssueResolutionAdmin,ebazarAdmin,ebazarManager,RestaurantOwner,EfoodAdmin,EfoodManager,EfoodCustomerService,DataExporter,EfoodContentAdmin,EfoodContentManager,CashbackAdmin,AppointmentAdmin,TechAdmin,CompanyAdmin,CompanyManager,EjobsEvalyAdmin,HeroAdmin,Hradmin,Hrmanager,EmployeeManager,AssetManager,TeamManager,PriorityOrderManager"
    },
    {
      "change_author": "Ishak Ahammed",
      "change_time": "2021-07-08T12:26:38.537585",
      "change_type": "Created",
      "status": "unapproved.active",
      "change_author_groups": "ShopOwner,ShopManager,ShopAdmin,OrderManager,OrderAdmin,OrderCancel,ProductManager,ProductAdmin,VoucherViewer,VoucherManager,VoucherAdmin,CategoryManager,BrandManager,BalanceManager,ChatAdmin,ChatManager,NoteEntry,NoteManager,EvalyEmployee,AccountsManager,OrderStatusUpdate,AccountsAdmin,BulkPermission,EkhataAdmin,RefundManager,HeroManager,BulkAdmin,CampaignManager,CampaignAdmin,NotificationManager,TechSupport,IssueResolutionManager,IssueResolutionAdmin,ebazarAdmin,ebazarManager,RestaurantOwner,EfoodAdmin,EfoodManager,EfoodCustomerService,DataExporter,EfoodContentAdmin,EfoodContentManager,CashbackAdmin,AppointmentAdmin,TechAdmin,CompanyAdmin,CompanyManager,EjobsEvalyAdmin,HeroAdmin,Hradmin,Hrmanager,EmployeeManager,AssetManager,TeamManager,PriorityOrderManager"
    }
  ],
  "meta": {
    "count": 2
  }
}

```



## Top Five Product of Shop
* **<core_base_url>/v2/admin/products/shops/{shop_slug}/top-five**

```
request_method--GET

request_url:
<core_base_url>/v2/admin/products/shops/test-shop-joker/top-five


--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "success": true,
  "message": "top products fetched successfully",
  "data": [
    {
      "slug": "dress-c4353b3a5",
      "name": "Dress",
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/1aa2899e8e01-291710-1252219.jpg",
      "ordered": 1080.0,
      "delivered": 36.0
    },
    {
      "slug": "bike-ad84f3d9a",
      "name": "bike",
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/92460cce0db0-yamaha-yzf-r15-v3-right-side-view_270x180.webp",
      "ordered": 142.0,
      "delivered": 0.0
    },
    {
      "slug": "shampoo-silky-cbf13db79",
      "name": "shampoo silky",
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/f320aed53fc5-elements-complete-care-shampoo-500x500.jpeg",
      "ordered": 128.0,
      "delivered": 2.0
    },
    {
      "slug": "khabo-7921e085a",
      "name": "Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo KhaboKhabo Khabo KhaboKhabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo Khabo ",
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/5cc270c88532-imagev170129559c4fe6c35f9bbb5529d0076fa-mz4ujz2l1q6oakt7or2_t1880.jpg",
      "ordered": 88.0,
      "delivered": 4.0
    },
    {
      "slug": "khan-9b201feb2",
      "name": "KHAN23",
      "image_url": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/64793be1c02e-424bfa3079ae-image.jpg",
      "ordered": 40.0,
      "delivered": 24.0
    }
  ]
}

```

## Product for enlisting list
* **<core_base_url>/v2/admin/products/for-enlisting/shop/{shop_slug}**

```
request_method--GET

request_url:
<core_base_url>/v2/admin/products/for-enlisting/shop/test-shop-joker


--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "success": true,
  "data": [
    {
      "name": "Tulip",
      "slug": "tulip-c2aed76a2",
      "images": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvYmQ1ZmI2MjliYjM0LWRkNTg1NjI4NTJhNzEzODkxODM2YjYyOTFlYTZjNGFkLmpwZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIn0sICJiYWNrZ3JvdW5kIjogeyJyIjogMjU1LCAiZyI6IDI1NSwgImIiOiAyNTUsICJhbHBoYSI6IDF9LCAiZmxhdHRlbiI6IHRydWUsICJqcGVnIjogeyJxdWFsaXR5IjogNzV9fX0=",
      "price": 1000.0,
      "enlisted": 0
    },
    {
      "name": "Jasmin Flower",
      "slug": "jasmin-flower-f3ae3d940",
      "images": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvYTJhYTE3YzBlMzAyLW1heHJlc2RlZmF1bHQtMi5qcGciLCAiZWRpdHMiOiB7InJlc2l6ZSI6IHsid2lkdGgiOiAyNTAsICJoZWlnaHQiOiAyNTAsICJmaXQiOiAiY29udGFpbiJ9LCAiYmFja2dyb3VuZCI6IHsiciI6IDI1NSwgImciOiAyNTUsICJiIjogMjU1LCAiYWxwaGEiOiAxfSwgImZsYXR0ZW4iOiB0cnVlLCAianBlZyI6IHsicXVhbGl0eSI6IDc1fX19",
      "price": 300.0,
      "enlisted": 0
    }
    ......
    ]
}

```


## Product Variant for Enlisting
* **<core_base_url>/v2/admin/product-variants/for-enlisting/product/{product_slug}/shop/{shop_slug}**

```
request_method--GET

request_url:
<core_base_url>/v2/admin/product-variants/for-enlisting/product/tulip-c2aed76a2/shop/test-shop-joker


--header
     Authorization: bearer {token}

No Request Body Required



Example Response Body:
{
  "success": true,
  "data": [
    {
      "variant_id": 527239,
      "attributes": null,
      "images": [
        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/bd5fb629bb34-dd58562852a713891836b6291ea6c4ad.jpg"
      ],
      "price": 1000.0,
      "discount_type": "flat",
      "discount": 0.0,
      "discounted_price": null,
      "enlisted": 0,
      "shop_item_id": null
    }
  ]
}
```


