Size Recommender API
REST API for retrieving AI-powered size recommendations including fit category, confidence score, and customer feedback summary.
Endpoint
GET /v4/size-recommender/recommendation/{productId}/Path parameters
Parameter
Type
Description
Query parameters
Parameter
Type
Required
Description
Example request
curl "https://api.parcellab.com/v4/size-recommender/recommendation/Men's%20Iver%20Pants%20(tailored%20fit)/?account_id=1617954"Example response
{
"article_name": "Men's Iver Pants (tailored fit)",
"size_fit_category": "Likely to run small",
"confidence_smetabase_core": 0.996,
"smoothed_fit_position": -0.538,
"raw_fit_position": -0.636,
"n_outbound": 292,
"llm_summary": "The Men's Iver Pants in tailored fit may run small, particularly in the waist, as some customers have noted that the waistband feels tighter than expected. If you're considering these pants, you might want to size up for a more comfortable fit.",
"account_id": 1617954
}Response fields
Field
Type
Description
Error handling
HTTP Status
Meaning
Recommended action
Caching
Authentication
Last updated
Was this helpful?