Feature Pack 5Feature Pack 6Feature Pack 4

Get wish list by an externalId and GuestAccesskey

The following example shows how to get wish list by an externalId and GuestAccesskey .

Request


GET /wcs/resources/store/10101/wishlist/10006?guestAccessKey=2fbdf303:133b6b09580:-7fdb HTTP/1.1
Host: wcstestserver.raleigh.ibm.com
Content-Type: application/json

Response


HTTP/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\/10006",
	"resourceName": "wishlist"
}