User Favorite Wishlist (26/11)
Fire this api to fetch user wishlist.
GET
https://castleindia.in/emart/public /api/wishlist /api/wishlist
Headers
Name | Type | Description |
---|---|---|
Accept* | String | application/json |
Authorization* | String | Bearer { bearer_token without bracktes } |
{
"status": "success",
"totalitem": 4,
"items": [
{
"productid": 4,
"variantid": 6,
"type": "v",
"productname": {
"en": "Apple iPad Pro"
},
"variant": [
{
"var_name": "64GB",
"attr_name": "Storage",
"type": "s"
},
{
"var_name": "Grey",
"attr_name": "Color",
"type": "c"
}
],
"thumpath": "https://emart.test/variantimages/thumbnails",
"thumbnail": "variant_1596517419eBZg3Q52UE.jpg",
"price": 56713.66,
"offerprice": 0,
"stock": "In Stock",
"rating": 0,
"symbol": "₹",
"off_in_percent": 0,
"tax_info": "Inclusive of all taxes"
},
{
"productid": 159,
"variantid": 115,
"type": "v",
"productname": {
"en": "Sunglasses"
},
"variant": [
{
"var_name": "Red",
"attr_name": "Color",
"type": "c"
}
],
"thumpath": "https://emart.test/variantimages/thumbnails",
"thumbnail": "variant_1637146697mpZnZQ5lcx.jpeg",
"price": 1481.63,
"offerprice": 411.56,
"stock": "In Stock",
"rating": 0,
"symbol": "₹",
"off_in_percent": 72,
"tax_info": "Inclusive of all taxes"
},
{
"productname": {
"en": "Maggi Masala Ae Magic 6 g (Pack of 12)"
},
"productid": 4,
"variantid": 0,
"type": "s",
"mainprice": 67.35,
"offerprice": 57.62,
"pricein": "INR",
"symbol": "₹",
"rating": 0,
"thumbnail": "thum_dgp_611f37e27933e.jpg",
"thumb_path": "https://emart.test/images/simple_products",
"off_in_percent": 14,
"stock": "In Stock"
},
{
"productname": {
"en": "MOTOROLA Edge 20 (Frosted Emerald, 128 GB) (8 GB RAM)"
},
"productid": 5,
"variantid": 0,
"type": "s",
"mainprice": 95782.4,
"offerprice": 19156.48,
"pricein": "INR",
"symbol": "₹",
"rating": 0,
"thumbnail": "thum_dgp_611f37f475316.jpeg",
"thumb_path": "https://emart.test/images/simple_products",
"off_in_percent": 80,
"stock": "In Stock"
}
]
}
{
"message": "Unauthenticated."
}
IF response fail
{
"msg": "The currency field is required.",
"status": "fail"
}
Last updated