Skip to content

Category

Defined in: sdks/trendyol/src/types/category.ts:8

A node in the Trendyol category tree.

Trendyol exposes categories as a deeply nested structure where each node can have child categories under subCategories. We normalize numeric IDs to strings to match the @lonca/core convention.

id: string

Defined in: sdks/trendyol/src/types/category.ts:9


name: string

Defined in: sdks/trendyol/src/types/category.ts:10


parentId: string | null

Defined in: sdks/trendyol/src/types/category.ts:12

null when this is a root category.


subCategories: Category[]

Defined in: sdks/trendyol/src/types/category.ts:13

Unofficial. Lonca is an independent, community-maintained project — not affiliated with, endorsed by, or supported by Trendyol, Hepsiburada, or any other marketplace. All marketplace names and trademarks belong to their respective owners.