tys.products.retrieve()
retrieve(idOrSku: string, options?: RequestOptions): Promise<Product>Parameters
Section titled “Parameters”idOrSkustringRequiredThe product's TryYourSize ID or your SKU (URL-encoded for you, so TEE/01 works).
optionsRequestOptionsOptionalReturns
Section titled “Returns”Promise<Product>: The product.
idstringRequiredexternal_idstringRequiredThe brand's SKU or style ID (unique per brand).
namestringRequiredcategoryGarmentCategoryRequiredThe garment type; it sets which POMs are needed.
published_versionintegerOptionalGarment version shoppers are fitted against, if any.
draft_versionintegerOptionalGarment version being edited, if any.
created_atstringRequiredupdated_atstringRequiredfit_group_idstringOptionalThe fit group whose garment this product uses (absent until grouped).
brand_idstringOptionalThe brand the product belongs to; every store of the brand sees it.
home_store_idstringOptionalThe store the product was created in.
retired_atstringOptionalSet when the product is retired; shoppers no longer get a size for it.
availablebooleanOptionalWhether the store it was read through offers it (false in the brand list, see stores).
Example
Section titled “Example”const product = await tys.products.retrieve("TEE-001"); // TryYourSize ID or your SKUproduct = tys.products.retrieve("TEE-001") # TryYourSize ID or your SKUcurl https://api.tryyoursize.com/v1/products/TEE-001 \ -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.