Virtual Tux
An API providing tuxedo size recommendations.
The Virtual Tux is an API that predicts tuxedo measurements, including jacket, shirt, vest, and pant sizes & fits, plus a subset of body measurements based on a minimum of 4 inputs, including height, weight, and age. All responses are returned as JSON.
See Common API Topics for global patterns across all endpoints.
API
Virtual Tux API
GET
https://api.boldmetrics.io/virtualtux/get?
Please note the client_id
and user_key
requirements, along with the minimum required inputs.
Query Parameters
client_id*
String
Your account ID provided by Bold Metrics
user_key*
String
Your secret key provided by Bold Metrics
anon_id
String
The id for the customer being fitted
event_type
String
Event for the reservation, one of "WED" or "PROM"
coat_style_no
Integer
Four digit code for selected coat
pants_style_no
Integer
Four digit code for selected pants
shirt_style_no
Integer
Four digit code for selected shirt
vest_style_no
Integer
Four digit code for selected vest
age*
Integer
age in years
height*
Integer
Height in inches
weight*
Integer
Weight in pounds
jean_inseam
Integer
Inseam of typically worn jeans in inches
waist*
Integer
Waist self-measurement
shoe_size_us
Integer
Shoe Size (American)
jacket_size
String
Size of jacket reported by customer
chest
Float
Chest self measurement
coat_sleeve
Float
Coat sleeve self measurement
hip
Float
Hip self measurement
neck
Float
Neck self measurement
outseam
Float
Out seam self measurement
overarm
Float
Overarm self measurement
shirt_sleeve
Float
Shirt sleeve self measurement
coat_fit
String
Selected fit of coat, one of "REG" or "SLIMFIT"
pants_fit
String
Selected fit of pants: one of “REG”, “SLIMFIT”, or “EXTREME”. Alternately, fit may refer to a customer’s preference, one of “TAPERED”, “STRAIGHT”, or “RELAXED”.
shirt_fit
String
Selected fit of shirt: one of “REG” or “FTD”
reservation_no
String
The Reservation # for the order
Headers
Content-Type
String
application/json, text/javascript
Example response
Garment Attributes
Compared to our other endpoints, the Virtual Tux has the option to include garment attributes. These help identify size and fit for the customer, and is based on the following fields:
coat_style_no
pants_style_no
shirt_style_no
vest_style_no
If these fields are not provided or not fields that have been registered, then a general model is used that does not take the garment into account.
Additionally, if a customer selects a specific fit, we can include that in the model input.
coat_fit
pants_fit
shirt_fit
If a fit is not given, then the model can recommend which fit is best for the customer.
Last updated