tys.products.size_map.retrieve()
A product’s size map (Studio size → your size label). Product by ID or SKU.
def retrieve(product: str) -> ProductSizeMapParameters
Section titled “Parameters”productstrRequiredThe product's TryYourSize ID or your SKU (URL-encoded for you).
Returns
Section titled “Returns”ProductSizeMap: The size map.
entriesobject[]Requiredunmapped_shop_valuesstring[]OptionalVariant size values of the product with no Studio size yet (read only).
Example
Section titled “Example”size_map = tys.products.size_map.retrieve("TEE-001")print(size_map["entries"], size_map.get("unmapped_shop_values"))const map = await tys.products.sizeMap.retrieve("TEE-001");console.log(map.entries, map.unmapped_shop_values);curl https://api.tryyoursize.com/v1/products/TEE-001/size_map \ -H "Authorization: Bearer $TRYYOURSIZE_SECRET_KEY" \ -H "TYS-Version: 2026-10-25"See also
Section titled “See also”Was this page helpful?
Thank you. We read every answer.