Skip to content

tys.products.size_map.retrieve()

Methodtryyoursize

A product’s size map (Studio size → your size label). Product by ID or SKU.

def retrieve(product: str) -> ProductSizeMap
productstrRequired

The product's TryYourSize ID or your SKU (URL-encoded for you).

ProductSizeMap: The size map.

entriesobject[]Required
unmapped_shop_valuesstring[]Optional

Variant size values of the product with no Studio size yet (read only).

size_map = tys.products.size_map.retrieve("TEE-001")
print(size_map["entries"], size_map.get("unmapped_shop_values"))

Was this page helpful?