Feature Pack 4Feature Pack 5Feature Pack 6

Get shopper's default wish list

The following example shows how to get shopper's default wish list.

Request


GET /wcs/resources/store/10101/wishlist/@default HTTPS/1.1
Host: wcstestserver.raleigh.ibm.com
Content-Type: application/json

Response


HTTPS/1.1 200 OK
Content-Type: application/json

{
	"GiftList": [
		{
			"accessSpecifier": "Private",
			"createdTime": "2011-11-18T19:23:54.433Z",
			"description": "test wishlist with one item",
			"event": "WishList",
			"externalIdentifier": "10006",
			"giftCardAccepted": "false",
			"guestAccessKey": "2fbdf303:133b6b09580:-7fdb",
			"item": [
				{
					"giftListItemID": "10006",
					"itemCreatedTime": "2011-11-18T19:23:55.011Z",
					"itemLastUpdate": "2011-11-18T19:23:55.011Z",
					"location": "online",
					"partNumber": "KIAC-0401",
					"productId": "11858",
					"productOwnerID": "7000000000000000101",
					"quantityBought": "0.0",
					"quantityRequested": "1.0"
				}
			],
			"lastUpdate": "2011-11-18T19:23:54.433Z",
			"location": "online",
			"optForEmail": "false",
			"registry": "false",
			"registryAccessKey": "2fbdf303:133b6b09580:-7fda",
			"state": "Default",
			"storeId": "10101",
			"storeOwnerID": "10006",
			"uniqueID": "10006"
		}
	],
	"resourceId": "https:\/\/wcstestserver.raleigh.ibm.com\/wcs\/resources\/store\/10101\/wishlist\/@default",
	"resourceName": "wishlist"
}