Get compact product fit evidence
curl --request GET \
--url https://api.virtual.fit/vfr/sites/{site_key}/fit-evidenceconst options = {method: 'GET'};
fetch('https://api.virtual.fit/vfr/sites/{site_key}/fit-evidence', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.virtual.fit/vfr/sites/{site_key}/fit-evidence"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.virtual.fit/vfr/sites/{site_key}/fit-evidence"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"digest": {
"product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fit_revision_hash": "<string>",
"review_count": 1,
"signals": [
{
"dimension_code": "<string>",
"evidence_count": 123,
"average_score": 123,
"tight_count": 123,
"neutral_count": 123,
"loose_count": 123
}
],
"built_at": "2023-11-07T05:31:56Z",
"variant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"size_label": "<string>",
"average_rating": 2.5
},
"reviews": [
{
"external_review_id": "<string>",
"external_id_scope": "<string>",
"permalink": "<string>",
"title": "<string>",
"body": "<string>",
"rating": 2.5,
"language": "<string>",
"locale": "<string>",
"author_display_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"verified_purchase": true,
"incentivized": true,
"badges": [
"<string>"
],
"helpful_count": 1,
"merchant_response": {},
"purchased_variant": {
"source_variant_id": "<string>",
"sku": "<string>",
"label": "<string>",
"option_values": {},
"size_signature": "<string>"
},
"media": [
{
"url": "<string>",
"external_media_id": "<string>",
"kind": "image",
"caption": "<string>",
"alt_text": "<string>",
"width": 1,
"height": 1,
"position": 1
}
],
"measurements": [
{
"subject_kind": "reviewer",
"basis": "unknown",
"source_key": "<string>",
"source_kind": "public_review",
"capture_method": "<string>",
"size_label": "<string>",
"option_selector": {},
"confidence": 0.5,
"values": [
{
"dimension_code": "height",
"value": 1,
"unit": "cm",
"min_value": 1,
"max_value": 1,
"raw_label": "<string>",
"raw_value": "<string>",
"raw_unit": "<string>",
"confidence": 0.5
}
]
}
],
"fit_signals": [
{
"dimension_code": "overall",
"score": 0,
"confidence": 0.5,
"evidence": "<string>",
"source_kind": "structured"
}
],
"deleted": false
}
],
"rating": 2.5,
"review_count": 1
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}API reference
Get storefront fit evidence
Read a compact rating and fit summary for a Custom JavaScript product.
GET
https://api.virtual.fit
/
vfr
/
sites
/
{site_key}
/
fit-evidence
Get compact product fit evidence
curl --request GET \
--url https://api.virtual.fit/vfr/sites/{site_key}/fit-evidenceconst options = {method: 'GET'};
fetch('https://api.virtual.fit/vfr/sites/{site_key}/fit-evidence', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.virtual.fit/vfr/sites/{site_key}/fit-evidence"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.virtual.fit/vfr/sites/{site_key}/fit-evidence"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"digest": {
"product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fit_revision_hash": "<string>",
"review_count": 1,
"signals": [
{
"dimension_code": "<string>",
"evidence_count": 123,
"average_score": 123,
"tight_count": 123,
"neutral_count": 123,
"loose_count": 123
}
],
"built_at": "2023-11-07T05:31:56Z",
"variant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"size_label": "<string>",
"average_rating": 2.5
},
"reviews": [
{
"external_review_id": "<string>",
"external_id_scope": "<string>",
"permalink": "<string>",
"title": "<string>",
"body": "<string>",
"rating": 2.5,
"language": "<string>",
"locale": "<string>",
"author_display_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"verified_purchase": true,
"incentivized": true,
"badges": [
"<string>"
],
"helpful_count": 1,
"merchant_response": {},
"purchased_variant": {
"source_variant_id": "<string>",
"sku": "<string>",
"label": "<string>",
"option_values": {},
"size_signature": "<string>"
},
"media": [
{
"url": "<string>",
"external_media_id": "<string>",
"kind": "image",
"caption": "<string>",
"alt_text": "<string>",
"width": 1,
"height": 1,
"position": 1
}
],
"measurements": [
{
"subject_kind": "reviewer",
"basis": "unknown",
"source_key": "<string>",
"source_kind": "public_review",
"capture_method": "<string>",
"size_label": "<string>",
"option_selector": {},
"confidence": 0.5,
"values": [
{
"dimension_code": "height",
"value": 1,
"unit": "cm",
"min_value": 1,
"max_value": 1,
"raw_label": "<string>",
"raw_value": "<string>",
"raw_unit": "<string>",
"confidence": 0.5
}
]
}
],
"fit_signals": [
{
"dimension_code": "overall",
"score": 0,
"confidence": 0.5,
"evidence": "<string>",
"source_kind": "structured"
}
],
"deleted": false
}
],
"rating": 2.5,
"review_count": 1
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Call this endpoint from the configured storefront origin. It returns the
source-reported overall rating and review count, a small analyzed fit digest,
and up to three relevant review previews.
Pass the same stable
product_id used during catalog sync. Optional
variant_id and size values narrow the preview reviews; they do not expand
the response with the full variant matrix or every review.
Use List storefront reviews when a
shopper chooses to inspect the underlying evidence.Path Parameters
Public Custom JavaScript site key.
Maximum string length:
255Query Parameters
Stable merchant product ID used during catalog sync.
Maximum string length:
255Optional stable merchant variant ID.
Maximum string length:
255Optional exact source size label or size signature.
Maximum string length:
255Response
Compact fit evidence for the product.
Show child attributes
Show child attributes
Small relevant preview; use the reviews endpoint for pagination.
Maximum array length:
3- Option 1
- Option 2
- Option 3
- Option 4
Show child attributes
Show child attributes
Current overall rating reported by the product source.
Required range:
0 <= x <= 5Current overall review count reported by the product source.
Required range:
x >= 0