XPM

Get Wish List by user ID

Path:

GET /api-cart/wishlist/user/{user._Id}

The items saved in the Wish List can be easily retrieved through this endpoint, based on the user._Id. Ability to access Wish list helps boost sales because the desired items are easily accessible, and not forgotten.

Headers

Content-Type : application/json

x-site-context : {"channel":12,"date":"2020-03-17"}

Consumes

  • application/json

Produces

  • application/json

Parameters

Type: Path

Name: user._ID

Sample Request

https://{baseurl}/api-cart/wishlist/user/5e5f35b0dab19679d8a6701c

Response

Response Code: 200

message: OK

Description: You will see this message when the wish list is successfully retrieved based on the user._Id.

Sample

[
{
"_id": "5e3598e32044c80008eb3644",
"itemId": 1000000014,
"__v": 0,
"attributes": [
{
"isDefault": false,
"_id": "5e7214dd2d3dd000073b11f4",
"name": "Short Description",
"value": "An intricate amalgamation of fine hand embroidery and modern design results in deceptively simple, heirloom-quality pieces. At first glance, the elite craftsmanship of the hand-hewn pillow eludes the eye but becomes immaculately clear and vibrant upon further inspection of the silk velvet. Finished with a metallic floral design, the platinum pillow elevates any space.",
"id": "5e7214dd2d3dd000073b11f4"
},
{
"isDefault": false,
"_id": "5e7214dd2d3dd000073b11f5",
"name": "UPC",
"value": "",
"id": "5e7214dd2d3dd000073b11f5"
},
{
"isDefault": false,
"_id": "5e7214dd2d3dd000073b11f6",
"name": "Brand",
"value": "anke drechsel",
"id": "5e7214dd2d3dd000073b11f6"
},
‚Äč
{
"isDefault": false,
"_id": "5e7214dd2d3dd000073b1219",
"name": "Lead Time",
"value": "",
"id": "5e7214dd2d3dd000073b1219"
}
],
"channel": [
12,
13
],
"createdAt": "2020-02-02T18:10:18.664Z",
"description": "&bull; 16'l x 16'w<br />&bull; Silk velvet<br />&bull; Made in India",
"endDate": "2099-01-28T12:10:14.000Z",
"files": [],
"group": [],
"images": [
{
"_id": "5e3b2487d36e4900089379a8",
"order": 0,
"label": "Anke Drechsel Enny Pillow Platinum",
"source": [
{
"_id": "5e3b2487d36e4900089379a9",
"url": "https://www.abchome.com/shop/media/catalog/product/1/5/1539213-anke-drechsel-enny-pillow-platinum-a.jpg",
"id": "5e3b2487d36e4900089379a9"
}
],
"id": "5e3b2487d36e4900089379a8"
},
{
"_id": "5e67cf47416119000894ed8a",
"order": 1,
"label": "Anke Drechsel Enny Pillow Platinum",
"source": [
{
"_id": "5e67cf47416119000894ed8b",
"url": "https://www.abchome.com/shop/media/catalog/product/1/5/1539213-anke-drechsel-enny-pillow-platinum-b.jpg",
"id": "5e67cf47416119000894ed8b"
}
],
"id": "5e67cf47416119000894ed8a"
},
{
"_id": "5e67cf47416119000894ed88",
"order": 2,
"label": "Anke Drechsel Enny Pillow Platinum",
"source": [
{
"_id": "5e67cf47416119000894ed89",
"url": "https://www.abchome.com/shop/media/catalog/product/1/5/1539213-anke-drechsel-enny-pillow-platinum-c.jpg",
"id": "5e67cf47416119000894ed89"
}
],
"id": "5e67cf47416119000894ed88"
}
],
"imagesSetOnAttributes": [],
"isActive": false,
"isDefault": false,
"isSoftDeleted": false,
"itemFamily": "5e3558e31fd6e900078ffaa8",
"sku": "1539213",
"startDate": "2020-01-30T07:30:00.000Z",
"state": "READY",
"title": "Anke Drechsel Enny Pillow Platinum",
"updatedAt": "2020-03-18T12:32:29.128Z",
"variants": [],
"videos": []
}
]

changelog

  • July-2020 last updated