Skip to content

SuppliersResource

Defined in: sdks/hepsiburada/src/resources/suppliers.ts:38

Hepsiburada Supplier integration (tedarikci-entegrasyonu).

Service base URL: supplier-api-external[-sit].hepsiburada.com (per the portal spec — routing through oms-external returns 401 because the routes don’t exist there; verified on SIT 2026-08-30).

Covers purchase-order discovery, inventory search, and the offer (listingUpdateRequest) lifecycle for suppliers. Every response arrives in the supplier API’s { data, message, errorCode } envelope; the SDK unwraps data into the typed result and keeps the untouched body on raw.

NOTE: A merchant that is not enrolled as a supplier gets a route-level 404 with errorCode: "E4201" (“Tedarikçi bulunamadı”) — the SIT sandbox merchant behaves this way, and so does a non-enrolled production merchant (verified on prod 2026-08-30). Endpoints typed from the developer-portal spec (specs/hepsiburada/supplier-api-external.json).

new SuppliersResource(transport, limiter?): SuppliersResource

Defined in: sdks/hepsiburada/src/resources/suppliers.ts:41

HepsiburadaTransport

TokenBucketRateLimiter

SuppliersResource

createListingUpdateRequest(input): Promise<ListingUpdateRequestReceipt>

Defined in: sdks/hepsiburada/src/resources/suppliers.ts:114

Create a new offer (listingUpdateRequest). Resolves to the new offer’s id.

CreateListingUpdateRequestInput

Promise<ListingUpdateRequestReceipt>


getListingUpdateRequest(requestId): Promise<ListingUpdateRequestDetail>

Defined in: sdks/hepsiburada/src/resources/suppliers.ts:98

Get a single offer by request id, with its per-product approval statuses.

string

Promise<ListingUpdateRequestDetail>


searchListingUpdateRequests(input): Promise<SupplierSearchResult<ListingUpdateRequestSummary>>

Defined in: sdks/hepsiburada/src/resources/suppliers.ts:83

Search the supplier’s offers (listingUpdateRequests). Resolves to one page of ListingUpdateRequestSummary rows; fetch a single offer’s product lines with getListingUpdateRequest.

ListingUpdateRequestSearchInput

Promise<SupplierSearchResult<ListingUpdateRequestSummary>>


searchOpenPurchaseOrders(input): Promise<SupplierSearchResult<OpenPurchaseOrder>>

Defined in: sdks/hepsiburada/src/resources/suppliers.ts:49

Search open purchase orders. Resolves to one page of OpenPurchaseOrder rows.

OpenPurchaseOrderSearchInput

Promise<SupplierSearchResult<OpenPurchaseOrder>>


searchSupplierListings(input): Promise<SupplierSearchResult<SupplierListing>>

Defined in: sdks/hepsiburada/src/resources/suppliers.ts:64

Search the supplier’s inventory listings. Resolves to one page of SupplierListing rows.

SupplierListingSearchInput

Promise<SupplierSearchResult<SupplierListing>>

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.