Feature Pack 5Feature Pack 6Feature Pack 4

Get product details based on the product ID

The following example shows how to get product details based on the product ID.

Request


GET /wcs/resources/store/11051/productview/byId/12129 HTTP/1.1
Host: wcstestserver.raleigh.ibm.com
Content-Type: application/json

Response


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

{
	"CatalogEntryView": [
		{
			"Attachments": [
				{
					"ID": "4779",
					"MetaData": [
						{
							"metaData": "Product image size 55x55"
						},
						{
							"metaData": "Housewares Product309 image size 55 x 55"
						},
						{
							"metaData": "An image of a product of size 55x55."
						}
					],
					"mimeType": "image\/jpg",
					"path": "Madisons2\/images\/catalog\/apparel\/apparel_55x55\/IMG_0090_e.jpg",
					"usage": "IMAGE_SIZE_55"
				},
				{
					"ID": "5467",
					"MetaData": [
						{
							"metaData": "Product image size 40x40"
						},
						{
							"metaData": "Housewares Product309 image size 40 x 40"
						},
						{
							"metaData": "An image of a product of size 40x40."
						}
					],
					"mimeType": "image\/jpg",
					"path": "Madisons2\/images\/catalog\/apparel\/apparel_40x40\/IMG_0090_e.jpg",
					"usage": "IMAGE_SIZE_40"
				}
			],
			"Attributes": [
				{
					"Values": [
						{
							"values": "6 to 12 months"
						},
						{
							"values": "12 to 18 months"
						},
						{
							"values": "18 to 24 months"
						}
					],
					"comparable": "false",
					"dataType": "STRING",
					"description": "Size",
					"displayable": "true",
					"identifier": "SIZE",
					"name": "SIZE",
					"searchable": "false",
					"uniqueID": "11237",
					"usage": "Defining"
				},
				{
					"Values": [
						{
							"values": "Yellow"
						},
						{
							"values": "Purple"
						},
						{
							"values": "Pink"
						},
						{
							"values": "Green"
						},
						{
							"values": "Blue"
						}
					],
					"comparable": "false",
					"dataType": "STRING",
					"description": "Color",
					"displayable": "true",
					"identifier": "COLOR",
					"name": "COLOR",
					"searchable": "false",
					"uniqueID": "11273",
					"usage": "Defining"
				}
			],
			"Price": [
				{
					"priceDescription": "L",
					"priceUsage": "Display",
					"priceValue": "16.99"
				},
				{
					"priceDescription": "O",
					"priceUsage": "Offer",
					"priceValue": "16.99"
				}
			],
			"SKUs": [
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Blue"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "6 to 12 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12344"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Green"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "12 to 18 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12345"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Yellow"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "18 to 24 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12346"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Purple"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "6 to 12 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12347"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Pink"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "12 to 18 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12348"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Blue"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "18 to 24 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12349"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Green"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "6 to 12 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12350"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Yellow"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "12 to 18 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12351"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Purple"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "18 to 24 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12352"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Pink"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "6 to 12 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12353"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Blue"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "12 to 18 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12354"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Green"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "18 to 24 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12355"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Yellow"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "6 to 12 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12356"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Purple"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "12 to 18 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12357"
				},
				{
					"Attributes": [
						{
							"Values": [
								{
									"values": "Pink"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "COLOR",
							"name": "COLOR",
							"searchable": "false",
							"uniqueID": "11273",
							"usage": "Defining"
						},
						{
							"Values": [
								{
									"values": "18 to 24 months"
								}
							],
							"comparable": "false",
							"dataType": "STRING",
							"displayable": "true",
							"identifier": "SIZE",
							"name": "SIZE",
							"searchable": "false",
							"uniqueID": "11237",
							"usage": "Defining"
						}
					],
					"Price": [
						{
							"SKUPriceDescription": "I",
							"SKUPriceUsage": "Offer",
							"SKUPriceValue": "16.99"
						}
					],
					"SKUUniqueID": "12358"
				}
			],
			"buyable": "true",
			"fullImage": "\/wcsstore\/Madisons2\/images\/catalog\/apparel\/apparel_160x160\/IMG_0090_e.jpg",
			"fullImageAltDescription": "Image for Infants printed stretchie from Madisons2",
			"longDescription": "Quality and attention to detail. Roomy raglan sleeves, flatlock seams, snap closure with neck dome. Contrasting white edging. Soft brushed cotton. Machine wash.",
			"manufacturer": "MapleWear",
			"metaDescription": "Quality and attention to detail. Roomy raglan sleeves.",
			"metaKeyword": "ProductKeyword ProductManufacturerName",
			"name": "Infants printed stretchie",
			"numberOfSKUs": "15",
			"parentCategoryID": "10380",
			"partNumber": "MW-0090",
			"productType": "ProductBean",
			"resourceId": "http:\/\/wcstestserver.raleigh.ibm.com\/wcs\/resources\/store\/11051\/productview\/byId\/12129",
			"shortDescription": "Quality and attention to detail. Roomy raglan sleeves.",
			"storeID": "11051",
			"subscriptionType": "NONE",
			"thumbnail": "\/wcsstore\/Madisons2\/images\/catalog\/apparel\/apparel_70x70\/IMG_0090_e.jpg",
			"title": "Infants printed stretchie | Madisons2",
			"uniqueID": "12129"
		}
	],
	"MetaData": [
		{
			"metaData": "1"
		}
	],
	"recordSetComplete": "true",
	"recordSetCount": "1",
	"recordSetStartNumber": "0",
	"recordSetTotal": "1",
	"resourceId": "http:\/\/wcstestserver.raleigh.ibm.com\/wcs\/resources\/store\/11051\/productview\/byId\/12129",
	"resourceName": "productview"
}