CatalogResource
Defined in: sdks/hepsiburada/src/resources/catalog.ts:42
Hepsiburada Catalog Products (katalog-urun-entegrasyonu —
product surface).
Service base URL: mpop[-sit].hepsiburada.com, /product/api/products/*.
Covers the full 11-endpoint product CRUD surface — read (list / by-status / history), upload (file / fast-listing), pre-match approve/reject, delete (async with tracking-id polling), and status checks.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CatalogResource(
transport,limiter?):CatalogResource
Defined in: sdks/hepsiburada/src/resources/catalog.ts:45
Parameters
Section titled “Parameters”transport
Section titled “transport”HepsiburadaTransport
limiter?
Section titled “limiter?”TokenBucketRateLimiter
Returns
Section titled “Returns”CatalogResource
Methods
Section titled “Methods”approvePreMatch()
Section titled “approvePreMatch()”approvePreMatch(
input):Promise<MutationResult>
Defined in: sdks/hepsiburada/src/resources/catalog.ts:233
Approve a product Hepsiburada has pre-matched to an existing catalog entry.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<MutationResult>
checkProductStatus()
Section titled “checkProductStatus()”checkProductStatus(
input):Promise<MutationResult>
Defined in: sdks/hepsiburada/src/resources/catalog.ts:265
Check upload status for one or more tracking ids in a single request.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<MutationResult>
deleteByMerchantSkuList()
Section titled “deleteByMerchantSkuList()”deleteByMerchantSkuList(
input):Promise<CatalogTrackingReceipt>
Defined in: sdks/hepsiburada/src/resources/catalog.ts:292
Delete one or more products by merchant SKU. Returns a trackingId you
can poll via getDeleteProcess(trackingId), whose deletedProductList
reports each SKU.
Hepsiburada takes an array of { merchant, merchantSku }; the SDK fills in
merchant from the client. The older { merchantSkuList: [...] } input
is still accepted and converted (sent as-is it was answered with a 500 —
verified on SIT, 2026-10-14).
Parameters
Section titled “Parameters”readonly DeleteBySkuItem[] | DeleteBySkuInput
Returns
Section titled “Returns”Promise<CatalogTrackingReceipt>
getDeleteProcess()
Section titled “getDeleteProcess()”getDeleteProcess(
trackingId):Promise<CatalogProductStatus>
Defined in: sdks/hepsiburada/src/resources/catalog.ts:331
Look up the status of an in-flight delete request by tracking-id.
Parameters
Section titled “Parameters”trackingId
Section titled “trackingId”string
Returns
Section titled “Returns”Promise<CatalogProductStatus>
getProductStatus()
Section titled “getProductStatus()”getProductStatus(
trackingId):Promise<CatalogProductStatus>
Defined in: sdks/hepsiburada/src/resources/catalog.ts:130
Look up status for a single tracking-id (returned by an earlier upload).
Parameters
Section titled “Parameters”trackingId
Section titled “trackingId”string
Returns
Section titled “Returns”Promise<CatalogProductStatus>
getTrackingIdHistory()
Section titled “getTrackingIdHistory()”getTrackingIdHistory():
Promise<TrackingIdHistoryEntry[]>
Defined in: sdks/hepsiburada/src/resources/catalog.ts:144
Get the upload-history feed for the merchant’s tracking ids.
Returns
Section titled “Returns”Promise<TrackingIdHistoryEntry[]>
listProducts()
Section titled “listProducts()”listProducts(
params?):Promise<OffsetPage<CatalogProduct>>
Defined in: sdks/hepsiburada/src/resources/catalog.ts:68
List the merchant’s catalog rows, one page at a time, optionally narrowed
to a single barcode / merchantSku / hbSku.
Returns an OffsetPage mapped from Hepsiburada’s Spring-style envelope
(totalElements → totalCount, totalPages → pageCount, data →
items). Page by page / size, or by offset / limit to drive it
with paginateOffset (pass limit — the API pages by number, so
offset must be a multiple of it). A filter that matches nothing comes
back as HTTP 200 success: false, code: 4014 with an empty data array;
that is surfaced as an empty page, not an error.
Parameters
Section titled “Parameters”params?
Section titled “params?”ListCatalogProductsParams = {}
Returns
Section titled “Returns”Promise<OffsetPage<CatalogProduct>>
Throws
Section titled “Throws”when offset / limit cannot be expressed as a page.
listProductsByStatus()
Section titled “listProductsByStatus()”listProductsByStatus(
params):Promise<OffsetPage<CatalogProduct>>
Defined in: sdks/hepsiburada/src/resources/catalog.ts:102
List catalog rows filtered by lifecycle status ('MATCHED', 'WAITING',
'MISSING_INFO', … — see CatalogProductLifecycleStatus).
Hepsiburada requires the status (query parameter productStatus) and
answers HTTP 500 — not 400 — when it is missing or not one of its
UPPER_SNAKE values, so the SDK validates presence up front. A status
bucket with no rows comes back as HTTP 200 success: false, code: 4008
with an empty data array; that is surfaced as an empty page, not an error.
Returns an OffsetPage (see listProducts for the envelope mapping and
the offset / limit alias that makes it work with paginateOffset).
Parameters
Section titled “Parameters”params
Section titled “params”Returns
Section titled “Returns”Promise<OffsetPage<CatalogProduct>>
Throws
Section titled “Throws”when status is missing or empty, or when
offset / limit cannot be expressed as a page.
rejectPreMatch()
Section titled “rejectPreMatch()”rejectPreMatch(
input):Promise<MutationResult>
Defined in: sdks/hepsiburada/src/resources/catalog.ts:249
Reject a pre-match Hepsiburada has proposed.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<MutationResult>
uploadFastListing()
Section titled “uploadFastListing()”uploadFastListing(
input):Promise<CatalogTrackingReceipt>
Defined in: sdks/hepsiburada/src/resources/catalog.ts:218
Upload a fast-listing payload (Hepsiburada’s “Hızlı Ürün Yükleme” flow).
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<CatalogTrackingReceipt>
uploadProductViaFile()
Section titled “uploadProductViaFile()”uploadProductViaFile(
products):Promise<CatalogTrackingReceipt>
Defined in: sdks/hepsiburada/src/resources/catalog.ts:178
Upload one or more products. Returns a trackingId you can poll via
getProductStatus(trackingId); per-product results (importStatus,
importMessages) arrive in its rows.
Hepsiburada takes the products as a JSON file (an array) in the multipart
field file; the SDK builds that file and fills in merchant from the
client when a row has none. (A plain JSON body is answered with a 500 —
verified on SIT, 2026-10-14.)
Parameters
Section titled “Parameters”products
Section titled “products”readonly CatalogUploadProduct[] | UploadProductsInput
Returns
Section titled “Returns”Promise<CatalogTrackingReceipt>
Throws
Section titled “Throws”when products is empty, or a row has no
categoryId or attributes.merchantSku (checked before sending).
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.