ExportCenterResource
Defined in: sdks/trendyol/src/resources/export-center.ts:45
Trendyol Export Center (İhracat Merkezi / AutoFT) — Türkiye-based sellers exporting to Trendyol’s international platforms.
Service base URL: same apigw.trendyol.com as the main marketplace,
with a distinct path prefix /integration/ecgw/v{N}/{sellerId}/….
The Export Center requires sellers to first complete Trendyol’s “İhracat
Merkezi” application; the same apiKey/apiSecret then authorize
these paths. Calls from non-enrolled sellers return 401.
12 endpoints across four surfaces — products (list/create/price/stock), batch status, packages (V2/V3 list + item detail), and lookup (categories, care instructions, compositions, origins).
NOTE: per-endpoint body / response shapes are documented in HTML tables
on developers.trendyol.com — the SDK accepts Record<string, unknown>
bodies and surfaces row-level raw accessors so undocumented fields
stay reachable.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ExportCenterResource(
transport,limiter?):ExportCenterResource
Defined in: sdks/trendyol/src/resources/export-center.ts:48
Parameters
Section titled “Parameters”transport
Section titled “transport”TrendyolTransport
limiter?
Section titled “limiter?”TokenBucketRateLimiter
Returns
Section titled “Returns”ExportCenterResource
Methods
Section titled “Methods”createProducts()
Section titled “createProducts()”createProducts(
products):Promise<ExportBatchAcceptedResponse>
Defined in: sdks/trendyol/src/resources/export-center.ts:84
Create Export Center products. Maximum 5000 per call. Returns a
batchId you can poll via getBatchStatus(batchId).
Parameters
Section titled “Parameters”products
Section titled “products”Returns
Section titled “Returns”Promise<ExportBatchAcceptedResponse>
Throws
Section titled “Throws”when products is empty / oversized.
getBatchStatus()
Section titled “getBatchStatus()”getBatchStatus(
batchId):Promise<ExportBatchStatus>
Defined in: sdks/trendyol/src/resources/export-center.ts:135
Look up the status of a previously-submitted batch. Trendyol retains
batch records for 24 hours only — older batchIds return 404.
Parameters
Section titled “Parameters”batchId
Section titled “batchId”string
Returns
Section titled “Returns”Promise<ExportBatchStatus>
getCareInstructions()
Section titled “getCareInstructions()”getCareInstructions():
Promise<CareInstruction[]>
Defined in: sdks/trendyol/src/resources/export-center.ts:234
Get the care-instruction lookup values used by createProducts.
Returns
Section titled “Returns”Promise<CareInstruction[]>
getCategoryAttributes()
Section titled “getCategoryAttributes()”getCategoryAttributes(
categoryId):Promise<ExportCategoryAttribute[]>
Defined in: sdks/trendyol/src/resources/export-center.ts:209
Get the required attributes for an Export Center category.
Parameters
Section titled “Parameters”categoryId
Section titled “categoryId”string | number
Returns
Section titled “Returns”Promise<ExportCategoryAttribute[]>
getCompositions()
Section titled “getCompositions()”getCompositions():
Promise<ProductComposition[]>
Defined in: sdks/trendyol/src/resources/export-center.ts:244
Get the material-composition lookup values used by createProducts.
Returns
Section titled “Returns”Promise<ProductComposition[]>
getOrigins()
Section titled “getOrigins()”getOrigins():
Promise<ProductOrigin[]>
Defined in: sdks/trendyol/src/resources/export-center.ts:254
Get the country-of-origin lookup values used by createProducts.
Returns
Section titled “Returns”Promise<ProductOrigin[]>
getPackageItems()
Section titled “getPackageItems()”getPackageItems(
params):Promise<ExportPackageItem[]>
Defined in: sdks/trendyol/src/resources/export-center.ts:186
Get the line items inside an Export Center package.
Parameters
Section titled “Parameters”params
Section titled “params”Returns
Section titled “Returns”Promise<ExportPackageItem[]>
listPackagesV2()
Section titled “listPackagesV2()”listPackagesV2(
params?):Promise<ExportPackage[]>
Defined in: sdks/trendyol/src/resources/export-center.ts:151
List daily Export Center packages (V2 — query-based filters).
Parameters
Section titled “Parameters”params?
Section titled “params?”ListExportPackagesV2Params = {}
Returns
Section titled “Returns”Promise<ExportPackage[]>
listPackagesV3()
Section titled “listPackagesV3()”listPackagesV3(
params?):Promise<ExportPackage[]>
Defined in: sdks/trendyol/src/resources/export-center.ts:169
List Export Center packages (V3 — consolidated, page-based).
Parameters
Section titled “Parameters”params?
Section titled “params?”ListExportPackagesV3Params = {}
Returns
Section titled “Returns”Promise<ExportPackage[]>
listProducts()
Section titled “listProducts()”listProducts(
params?):Promise<ExportProduct[]>
Defined in: sdks/trendyol/src/resources/export-center.ts:62
List Export Center-approved products. Uses Trendyol’s pageKey
pagination — the first call leaves pageKey empty; subsequent
calls pass the x-paging-key value from the previous response.
Parameters
Section titled “Parameters”params?
Section titled “params?”Returns
Section titled “Returns”Promise<ExportProduct[]>
updatePrices()
Section titled “updatePrices()”updatePrices(
priceInfos):Promise<ExportBatchAcceptedResponse>
Defined in: sdks/trendyol/src/resources/export-center.ts:101
Update Export Center prices. Trendyol allows one price update per
barcode per day. Returns a batchId.
Parameters
Section titled “Parameters”priceInfos
Section titled “priceInfos”Returns
Section titled “Returns”Promise<ExportBatchAcceptedResponse>
Throws
Section titled “Throws”when priceInfos is empty / oversized.
updateStocks()
Section titled “updateStocks()”updateStocks(
items):Promise<ExportBatchAcceptedResponse>
Defined in: sdks/trendyol/src/resources/export-center.ts:118
Update Export Center stocks. Returns a batchId. Sellers using
Trendyol’s shared inventory cannot use this endpoint (per portal docs).
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ExportBatchAcceptedResponse>
Throws
Section titled “Throws”when items is empty / oversized.
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.