curl --request GET \
--url https://api.sandbox.usenash.com/v1/product/{id}
{
"id": "<string>",
"externalIdentifier": "ext_001",
"sku": "11111",
"name": "Organic Bananas",
"description": "Fresh organic bananas, perfect for smoothies and baking",
"imageUrls": [
"https://example.com/bananas1.jpg",
"https://example.com/bananas2.jpg"
],
"categories": [
"Produce",
"Fruits",
"Organic"
],
"weight": 0.5,
"dimensions": {
"depth": 8,
"height": 4,
"width": 12
},
"identifiers": [
{
"type": "UPC",
"value": "123456789012"
}
],
"attributes": [
"WEIGHTED"
],
"details": {
"packSizeSpecification": {
"description": "10 units per pack",
"value": 10
},
"sizeSpecification": {
"description": "ea",
"value": 1
},
"weightedItemInfo": {
"weightPerItem": 0.12,
"weightUnit": "kg"
}
}
}
curl --request GET \
--url https://api.sandbox.usenash.com/v1/product/{id}
{
"id": "<string>",
"externalIdentifier": "ext_001",
"sku": "11111",
"name": "Organic Bananas",
"description": "Fresh organic bananas, perfect for smoothies and baking",
"imageUrls": [
"https://example.com/bananas1.jpg",
"https://example.com/bananas2.jpg"
],
"categories": [
"Produce",
"Fruits",
"Organic"
],
"weight": 0.5,
"dimensions": {
"depth": 8,
"height": 4,
"width": 12
},
"identifiers": [
{
"type": "UPC",
"value": "123456789012"
}
],
"attributes": [
"WEIGHTED"
],
"details": {
"packSizeSpecification": {
"description": "10 units per pack",
"value": 10
},
"sizeSpecification": {
"description": "ea",
"value": 1
},
"weightedItemInfo": {
"weightPerItem": 0.12,
"weightUnit": "kg"
}
}
}
product id
"prod_123"
OK
The response is of type object
.