Textile supply chains require product data richer than the generic supplier products catalog can express. The ConformaESG API exposes three dedicated resources:
| Resource | Endpoint | Specific attributes |
|---|---|---|
| Fiber | /api/v1/textile/fibers | fiberType, stapleLengthMm, finenessMicron, fiberOrigin |
| Yarn | /api/v1/textile/yarns | yarnCount, yarnCountUnit, twist, ply, yarnType |
| Fabric | /api/v1/textile/fabrics | widthCm, arealMassGsm, weaveType, finish |
All three share a common core so that generic consumers (dashboards, exports, certification reports) can process them uniformly.
Common attributes (shared by fibers, yarns and fabrics)
Identity & ownership
name,code,description,technicalSpecs,composition.supplierId(optional) — the supplier that provides this material.companyId(optional) — your own company ownership record.
Origin
productOriginCountry— ISO alpha-2 code of where the product is made.rawMaterialOriginCountry— ISO alpha-2 code of where the raw material comes from.
Certifications
Boolean flags: gotsCertified, grsCertified, oekoTexCertified, cradleToCradle, betterCotton. Plus free-form otherCertifications and sustainabilityNotes.
Sustainability content
recycledContentPct(0–100)organicContentPct(0–100)
Commerce & logistics
availableboolean,minimumOrder,pricePerUnit,currency.productWeightKg,quantityAvailable,leadTimeDays.unitOfMeasure— any ofKG,G,T,L,ML,M3,M,CM,MM,M2,PCS,ROLL,BOX,PALLET.
Category marker
Every textile record carries textileCategory = FIBER | YARN | FABRIC, set by the server according to the endpoint used.
Yarn-specific fields
yarnCount— numeric linear-density value.yarnCountUnit—NM,NE,TEX,DTEX,DEN.twist,ply,yarnType.
Fiber-specific fields
fiberType— e.g.COTTON,POLYESTER,WOOL.stapleLengthMm,finenessMicron.fiberOrigin— free-form origin description (beyond country).
Fabric-specific fields
widthCm— fabric width on the roll.arealMassGsm— weight per square meter (g/m²).weaveType— e.g.PLAIN,TWILL,SATIN.finish— e.g.MERCERIZED,DYED,RAW.