Skip to content

Recommendation

Typetryyoursize (Dart)

The shopper’s recommended size for one product, in the store’s own size labels.

productStringRequired
statusRecommendationStatusRequired
sizeString?Required

The recommended size in the store's label (its size map), or null.

studioSizeString?Required

The same size as entered in TryYourSize Studio, or null.

wearableSizesList<String>?Required

Sizes that can be worn on this body, in the store's labels (when simulated).

final rec = await tys.recommendation('SKU-123');
if (rec.status == RecommendationStatus.ready) setState(() => size = rec.size);

status: ready, computing, noSize ("none" on the web), signedOut, unavailable.

Was this page helpful?