Skip to content

element.getRecommendation()

Method@tryyoursize/sdk

The shopper’s recommended size for this product once known (see the recommendation event).

getRecommendation(): Promise<Recommendation>;

Promise<Recommendation>: Resolves with the first recommendation once known (see tys.recommendation() for the fields).

const r = await guide.getRecommendation();
if (r.status === "ready") preselect(r.size);

Was this page helpful?