GET
/items/{itemId}/variants/{variantId}
curl \
--request GET 'https://app.getfoundation.com/api/external/v1/items/{itemId}/variants/{variantId}' \
--header "X-API-Key: $API_KEY"
Response examples (200)
{
"id": "9aa62446-c3b0-42f5-8027-3648daed9d73",
"parent_id": "9aa62446-c3b0-42f5-8027-3648daed9d73",
"parent_title": "Dog Collar",
"parent_product_code": "DC",
"title": "Large / Leather",
"description": "A beautiful red dog collar",
"sku": "DC-001-R",
"upc": "123456789012",
"msrp": 99.99,
"unit_price": 49.99,
"map": 49.99,
"moq": 10,
"quantity_multiplier": 1,
"options": [
{
"name": "Size",
"value": "Large"
},
{
"name": "Material",
"value": "Leather"
}
],
"sku_status": "active",
"category_id": "string",
"vendor_id": "string",
"brand_id": "string",
"category_name": "Toys",
"vendor_name": "Acme Corp",
"brand_name": "Acme Corp"
}
Response examples (401)
{
"error": "string",
"details": "string"
}
Response examples (404)
{
"error": "string",
"details": "string"
}