Skip to content

Catalog API

Your team can describe garments in Studio, or you can sync them from your PIM, PLM or ERP with the Catalog API. The catalog is shared by test and live mode: test answers drafts, live answers published versions.

Resource What it is
Product Your SKU or style ID, name and category. Read by TryYourSize ID or by SKU.
Size map Studio size → your size label (M → Medium), so every answer uses your labels.
Garment version Sizes, points of measure per size (mm), grading and fabric. Drafts are edited; published versions never change.
Fit group One garment shared by several products, for example colourways and prints.
const draft = await tys.products.garments.createDraft("TEE-001", garment);
await tys.garments.publish(draft.id); // 422 lists what is missing

Was this page helpful?