tys.products.list()
The store’s products, newest first. sku finds one product by SKU / style ID.
def list(*, sku: Optional[str] = None, limit: Optional[int] = None, cursor: Optional[str] = None) -> ListPageParameters
Section titled “Parameters”skuOptional[str]Optional= NoneFind one product by SKU / style ID.
limitOptional[int]Optional= NonePage size.
cursorOptional[str]Optional= Nonenext_cursor of the previous page.
Returns
Section titled “Returns”ListPage: Products, newest first. A dict with data, has_more, next_cursor; next_page() and auto_paging_iter() walk the rest. See ListPage.
Example
Section titled “Example”page = tys.products.list(limit=50)
for product in tys.products.list().auto_paging_iter(): print(product["external_id"], product.get("published_version"))
match = tys.products.list(sku="TEE-001")// One pageconst page = await tys.products.list({ limit: 50 });
// Every product, across pagesfor await (const p of tys.products.list()) { console.log(p.external_id, p.published_version);}
// One product by SKUconst { data } = await tys.products.list({ sku: "TEE-001" });curl "https://api.tryyoursize.com/v1/products?limit=50" \ -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.