---
# System prepended metadata

title: Evaly Core Product Module Public V2 API's

---

# Evaly Core Product Module Public V2 API's

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

### End Points

## Add Product Review

* **<core_base_url>/v2/add-product-review/{product_slug}**

```

request_method--POST

--header
     Authorization: bearer {token}

Request Body:
{
    "review_message":"test review",
    "rating":5
}

Example Response Body:
{
    "id": 0,
    "user_name": "string",
    "phone": "string",
    "rating_text": "string",
    "rating_value": "string",
    "created_at": "2021-07-25T13:07:41Z",
    "time": "string",
    "is_approved": "string",
    "status": "pending",
    "profile_image": "string",
    "product": "string"
}
```


## Product variant in Shops list
* **<core_base_url>/v2/product/shops/{product_variant_id}/**

```

request_method--GET

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


No Request Body Required

Example Response Body:
{
  "success": true,
  "message": "product shop fetched successfully",
  "data": [
    {
      "price": 8000.0,
      "discount_type": "percentage",
      "discounted_price": 7200.0,
      "in_stock": 1,
      "shop_slug": "cyclone-for-30th-july-for-coffee-with-karan-2e1e9b6b",
      "average_rating": null,
      "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,
      "contact_number": "0",
      "discount_value": 10.0,
      "is_express_shop": false
    },
    {
      "price": 666.0,
      "discount_type": "flat",
      "discounted_price": 656.0,
      "in_stock": 1,
      "shop_slug": "vision-for-t10-campaign-shop",
      "average_rating": null,
      "shop_name": "Vision for T10 Campaign Shop",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/286987abd680-vision.png",
      "shop_owner": "01977537988",
      "shop_address": "Evaly.com.bd, House #8 1st Floor, Road: 14, Dhaka 1209, Bangladesh",
      "shop_item_id": 8380,
      "contact_number": "01977537988",
      "discount_value": 10.0,
      "is_express_shop": false
    },
    {
      "price": 200.0,
      "discount_type": "percentage",
      "discounted_price": 200.0,
      "in_stock": 1,
      "shop_slug": "radhuni-for-thunderstorm-27-june-32e3818a",
      "average_rating": null,
      "shop_name": "Radhuni for Thunderstorm 27 June",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/d0e923ab901a-newfile.jpeg",
      "shop_owner": "01511111114",
      "shop_address": "Bogura, Bangladesh",
      "shop_item_id": 7967,
      "contact_number": "0",
      "discount_value": 0.0,
      "is_express_shop": false
    },
    {
      "price": 200.0,
      "discount_type": "percentage",
      "discounted_price": null,
      "in_stock": 10,
      "shop_slug": "chomok",
      "average_rating": null,
      "shop_name": "Chomok",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e602fc4c01f9-geotagged_articles_wikimap_render_es_small.png",
      "shop_owner": "01938504111",
      "shop_address": "Evaly.com.bd, House #8 1st Floor, Road: 14, Dhaka 1209, Bangladesh",
      "shop_item_id": 8679,
      "contact_number": "01938504111",
      "discount_value": null,
      "is_express_shop": false
    }
  ]
}
```



## Product variant in neraest Shops list

* **<core_base_url>/v2/product/shops/{product_variant_id}/nearest/**

```

request_method--GET

request_url:
<core_base_url>/v2/product/shops/525617/nearest/?lat=23.75426600000000000&long=90.37488850000000000

--header
     Authorization: bearer {token}

No Request Body Required


Example Response Body:
{
  "success": true,
  "message": "Nearest product shops fetched successfully",
  "data": [
    {
      "shop_slug": "express-meme-shop",
      "shop_name": "Express Meme Shop",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/190afbb87c6b-meme.jpg",
      "distance": 0.0,
      "shop_owner": "01938504111",
      "shop_address": "Evaly.com.bd, House #8 1st Floor, Road: 14, Dhaka 1209, Bangladesh",
      "shop_item_id": 5213,
      "price": 9000.0,
      "contact_number": "01938504111",
      "discount_value": 35.0,
      "discount_type": "percentage",
      "discounted_price": 8100.0,
      "in_stock": 20,
      "is_express_shop": 1
    }
  ]
}
```




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

```

request_method--GET

No Request Body Required


Example Response Body:
{
  "success": true,
  "message": "product details fetched successfully",
  "data": {
    "attributes": [],
    "product_variants": [
      {
        "sku": "0x67e46",
        "variant_id": 527174,
        "tags": [],
        "product_name": "Radhuni Chili Flakes",
        "product_score": 0,
        "approved": 1,
        "min_discounted_price": 200.0,
        "min_price": 200.0,
        "max_price": 8000.0,
        "product_description": "",
        "brand_name": "Radhuni",
        "brand_slug": "radhuni-e16edecee",
        "brand_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/watermarked/2018-04-06_193331.90009012355a438f8fbb84e-bg.jpg",
        "category_slug": "grocery-f93e6cdf1",
        "category_id": 147,
        "category_name": "Grocery",
        "category_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/52b0bfb4d63b-grocery.png",
        "attribute_values": [],
        "product_images": [
          "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/5ced9e3ce45c-llvvs0187-1.jpg",
          "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e06dc6e17b01-5ced9e3ce45c-llvvs0187-1.jpg"
        ],
        "color_image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNWNlZDllM2NlNDVjLWxsdnZzMDE4Ny0xLmpwZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDEwMCwgImhlaWdodCI6IDEwMCwgImZpdCI6ICJjb250YWluIn0sICJiYWNrZ3JvdW5kIjogeyJyIjogMjU1LCAiZyI6IDI1NSwgImIiOiAyNTUsICJhbHBoYSI6IDF9LCAiZmxhdHRlbiI6IHRydWUsICJqcGVnIjogeyJxdWFsaXR5IjogNzV9fX0="
      }
    ],
    "product_specifications": [
      {
        "id": 1708262,
        "specification_name": "",
        "specification_value": ""
      }
    ]
  }
}

```