Skip to content

CategoriesResource

Defined in: sdks/hepsiburada/src/resources/categories.ts:25

Hepsiburada Categories (katalog-urun-entegrasyonu — category surface).

Service base URL: mpop[-sit].hepsiburada.com with /product/api/ prefix routed to the catalog category microservice.

Three operations: list categories, list attributes (leaf-only), list attribute values (for enum-style attributes).

new CategoriesResource(transport, limiter?): CategoriesResource

Defined in: sdks/hepsiburada/src/resources/categories.ts:28

HepsiburadaTransport

TokenBucketRateLimiter

CategoriesResource

getAttributes(categoryId, params?): Promise<CategoryAttribute[]>

Defined in: sdks/hepsiburada/src/resources/categories.ts:59

Get attribute definitions for a leaf category.

string | number

GetAttributesParams = {}

Promise<CategoryAttribute[]>

when categoryId is missing, or when Hepsiburada returns success: false (e.g. non-leaf category, code 1003).


getAttributeValues(categoryId, attributeId): Promise<CategoryAttributeValue[]>

Defined in: sdks/hepsiburada/src/resources/categories.ts:89

Get the allowed values for an enum-style attribute on a leaf category.

string | number

string | number

Promise<CategoryAttributeValue[]>

when either id is missing or when Hepsiburada rejects (success: false).


list(params?): Promise<CatalogPage<Category>>

Defined in: sdks/hepsiburada/src/resources/categories.ts:36

List the category tree. ~27,000 categories total — use leaf: true to filter to listable ones.

ListCategoriesParams = {}

Promise<CatalogPage<Category>>

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.