CategoryAttribute
Defined in: sdks/hepsiburada/src/types/category.ts:102
One attribute definition for a leaf category (an element of
data.baseAttributes[] / data.attributes[] / data.variantAttributes[]
of GET /product/api/categories/{categoryId}/attributes — spec
mpop-catalog.json, confirmed on the prod wire 2026-10).
Properties
Section titled “Properties”externalName?
Section titled “externalName?”
optionalexternalName?:string
Defined in: sdks/hepsiburada/src/types/category.ts:116
group?
Section titled “group?”
optionalgroup?:"base"|"category"|"variant"
Defined in: sdks/hepsiburada/src/types/category.ts:129
Which bucket this attribute came from. Hepsiburada returns a leaf
category’s attributes in three groups — base (common), category
(category-specific), and variant (variant-defining) — flattened into one
list here, with this tag so callers can tell them apart.
optionalid?:string|number
Defined in: sdks/hepsiburada/src/types/category.ts:104
Attribute id — a string on the wire; kept wide for back-compat.
mandatory?
Section titled “mandatory?”
optionalmandatory?:boolean
Defined in: sdks/hepsiburada/src/types/category.ts:107
Whether a product in this category must set the attribute.
multiValue?
Section titled “multiValue?”
optionalmultiValue?:boolean
Defined in: sdks/hepsiburada/src/types/category.ts:111
Whether the attribute accepts more than one value.
optionalname?:string
Defined in: sdks/hepsiburada/src/types/category.ts:105
raw:
Record<string,unknown>
Defined in: sdks/hepsiburada/src/types/category.ts:131
Untouched raw attribute object.
optionaltype?:string
Defined in: sdks/hepsiburada/src/types/category.ts:109
Attribute value type, passed through as Hepsiburada spells it.
values?
Section titled “values?”
optionalvalues?:unknown[]
Defined in: sdks/hepsiburada/src/types/category.ts:122
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.