Skip to content

Recommendation

Type@tryyoursize/react-native

interface Recommendation
productstringRequired
statusRecommendationStatusRequired

none: simulated, no size can be worn. Same values as the web SDK.

sizestring | nullRequired

The recommended size in your size labels, or null.

studioSizestring | nullRequired

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

wearableSizesstring[]Optional

Sizes that can be worn on this body, in your labels (when simulated).

const rec = await getRecommendation("SKU-123");
if (rec.status === "ready") setSize(rec.size);

Was this page helpful?