storefront
Resolve a single variant by id (price, availability, options, product) — for cart re-validation
get/api/v1/storefront/variants/{id}
Request
- Base URL: https://api.foundryims.com (the document declares no server; this is the origin it was published from)
- URL: https://api.foundryims.com/api/v1/storefront/variants/{id}
- Auth: HTTP bearer
Path parameters
idstring required
Response
Example response
{
"price": 19.99,
"regularPrice": 24.99,
"compareAtPrice": 24.99,
"availableQuantity": 14,
"optionValues": [
{
"name": "Color",
"value": "Red"
}
],
"images": [
{
"url": "https://cdn.example.com/img/abc.jpg"
}
],
"customFields": [
{
"key": "cooling_capacity",
"label": "Cooling Capacity",
"unit": "BTU/h",
"type": "number",
"group": "Performance",
"displayOrder": 10
}
],
"currency": "USD"
}Changes
No recorded changes to this operation across all 1 revision of this API.