API Reference · v1
Variants
GET
/Catalog/Variants/{sku}Get a single variant by SKU
Returns a single variant (SKU) lookup with pricing, inventory, availability, and attributes, dealer-scoped.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| sku | path | string | Required | |
| language | header | string | null | Optional | (default: en) |
Request
GET
/Catalog/Variants/{sku}GET https://api.ltpdealer.com/v1/Catalog/Variants/{sku}
Authorization: ApiKey <prefix>.<secret>
language: enResponse
200Successful Response
{
"variant": {
"attributes": {
"Bead": "Wire",
"Compound": "DNA",
"Diameter": "700c",
"Intended Use": "Commute-Trekking",
"Series": "Thickslick",
"Sidewall Colour": "Black",
"Size": "25 mm",
"Tread Colour": "Black",
"Type": "Clincher"
},
"availability": "backorder",
"canBuy": true,
"currency": "CAD",
"dealer_price": "26.50",
"inventory_quantity": 0,
"msrp_price": "49.95",
"parent_id": "12973G",
"sku": "163006-01",
"title": "WTB T-SLICK 700x25W COMP ENDUR",
"upc": "714401106109"
}
}| Field | Type | Description |
|---|---|---|
| variant* | ProductVariant | A specific SKU / variant within a product group. ``parent_id`` is always set: the product group id, or the SKU itself for an item that belongs to no group (it gets a product of its own). Variants the dealer may not buy (brand/item-type rule, legacy funcCheckDealerFilter) are listed with ``canBuy: false`` (dealer price and stock 0) and cannot be ordered; /Catalog/Products lists them only with ?showCanBuyFalse=true. |
422Validation Error
{
"detail": [
{
"loc": [
"string"
],
"msg": "Message",
"type": "Error Type"
}
]
}| Field | Type | Description |
|---|---|---|
| detail | array<ValidationError> |
Code Examples
curl -X GET "https://api.ltpdealer.com/v1/Catalog/Variants/SKU-10234" \
-H "Authorization: ApiKey <prefix>.<secret>" \
-H "language: en"