tys.products.garments.list()
Garment versions of a product, newest first (has_more is always false).
def list(product: str) -> ListPageParameters
Section titled “Parameters”productstrRequiredThe product's TryYourSize ID or your SKU (URL-encoded for you).
Returns
Section titled “Returns”ListPage: Garment versions, newest first (a single page). A dict with data, has_more, next_cursor; next_page() and auto_paging_iter() walk the rest. See ListPage.
Example
Section titled “Example”versions = tys.products.garments.list("TEE-001") # newest firstconst { data } = await tys.products.garments.list("TEE-001"); // newest firstcurl https://api.tryyoursize.com/v1/products/TEE-001/garments \ -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.