Recommend a size from body measurements
get_size_recommendationRecommend a size for a specific product (or a brand + category) from the rider's body measurements, using the manufacturer's own published size chart — the same charts and the same matcher the ALLR product page uses. Measurements are in CENTIMETRES: head circumference for helmets, chest for jackets/suits, hand circumference for gloves, foot length for boots. Returns the recommended label with its EU/US/UK equivalents, how snug it falls, and a link to the brand's official chart. When no chart exists for the brand+category, or the needed measurement is missing, it says so rather than guessing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Brand name, e.g. 'AGV', 'Alpinestars'. Required when `product_id` is omitted. | |
| foot_cm | No | Foot length in cm (boots). | |
| hand_cm | No | Hand circumference in cm (gloves). | |
| head_cm | No | Head circumference in cm (helmets). | |
| category | No | Product category, e.g. 'Full-Face Helmet', 'Leather Jacket', 'Boots', 'Gloves'. Required when `product_id` is omitted. | |
| chest_cm | No | Chest circumference in cm (jackets, suits). | |
| known_size | No | A size the rider already wears in this brand+category ('L', 'EU 44'), used when no measurement is given. | |
| product_id | No | ALLR product id or /product/ URL. Supplies the brand, category and model so the right chart variant is picked. Either this or both `brand` and `category` is required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | ISO-8601 timestamp at which these prices were assembled. | |
| brand | No | ||
| needs | No | Set when a chart exists but the required input is missing — the label of the measurement that is missing. | |
| category | No | ||
| product_id | No | ||
| recommended | No |