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).
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SuppliersResource(
transport,limiter?):SuppliersResource
Defined in: sdks/hepsiburada/src/resources/suppliers.ts:41
Parameters
Section titled “Parameters”transport
Section titled “transport”HepsiburadaTransport
limiter?
Section titled “limiter?”TokenBucketRateLimiter
Returns
Section titled “Returns”SuppliersResource
Methods
Section titled “Methods”createListingUpdateRequest()
Section titled “createListingUpdateRequest()”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.
Parameters
Section titled “Parameters”CreateListingUpdateRequestInput
Returns
Section titled “Returns”Promise<ListingUpdateRequestReceipt>
getListingUpdateRequest()
Section titled “getListingUpdateRequest()”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.
Parameters
Section titled “Parameters”requestId
Section titled “requestId”string
Returns
Section titled “Returns”Promise<ListingUpdateRequestDetail>
searchListingUpdateRequests()
Section titled “searchListingUpdateRequests()”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.
Parameters
Section titled “Parameters”ListingUpdateRequestSearchInput
Returns
Section titled “Returns”Promise<SupplierSearchResult<ListingUpdateRequestSummary>>
searchOpenPurchaseOrders()
Section titled “searchOpenPurchaseOrders()”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.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<SupplierSearchResult<OpenPurchaseOrder>>
searchSupplierListings()
Section titled “searchSupplierListings()”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.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”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.