Ir al contenido

Recommendation

Esta página aún no está disponible en tu idioma.

TypeTryYourSize (Swift)

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

productStringObligatorio
statusStatusObligatorio
sizeString?Obligatorio

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

studioSizeString?Obligatorio

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

wearableSizes[String]?Obligatorio

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

let rec = try await tys.recommendation(for: "SKU-123")
if rec.status == .ready, let size = rec.size { selectedSize = size }

status: .ready (size is set), .computing, .noSize ("none" on the web: no size can be worn), .signedOut, .unavailable.

¿Te ha resultado útil esta página?