Skip to content

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.

new ExportCenterResource(transport, limiter?): ExportCenterResource

Defined in: sdks/trendyol/src/resources/export-center.ts:48

TrendyolTransport

TokenBucketRateLimiter

ExportCenterResource

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).

ExportProductInput[]

Promise<ExportBatchAcceptedResponse>

when products is empty / oversized.


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.

string

Promise<ExportBatchStatus>


getCareInstructions(): Promise<CareInstruction[]>

Defined in: sdks/trendyol/src/resources/export-center.ts:234

Get the care-instruction lookup values used by createProducts.

Promise<CareInstruction[]>


getCategoryAttributes(categoryId): Promise<ExportCategoryAttribute[]>

Defined in: sdks/trendyol/src/resources/export-center.ts:209

Get the required attributes for an Export Center category.

string | number

Promise<ExportCategoryAttribute[]>


getCompositions(): Promise<ProductComposition[]>

Defined in: sdks/trendyol/src/resources/export-center.ts:244

Get the material-composition lookup values used by createProducts.

Promise<ProductComposition[]>


getOrigins(): Promise<ProductOrigin[]>

Defined in: sdks/trendyol/src/resources/export-center.ts:254

Get the country-of-origin lookup values used by createProducts.

Promise<ProductOrigin[]>


getPackageItems(params): Promise<ExportPackageItem[]>

Defined in: sdks/trendyol/src/resources/export-center.ts:186

Get the line items inside an Export Center package.

GetExportPackageItemsParams

Promise<ExportPackageItem[]>


listPackagesV2(params?): Promise<ExportPackage[]>

Defined in: sdks/trendyol/src/resources/export-center.ts:151

List daily Export Center packages (V2 — query-based filters).

ListExportPackagesV2Params = {}

Promise<ExportPackage[]>


listPackagesV3(params?): Promise<ExportPackage[]>

Defined in: sdks/trendyol/src/resources/export-center.ts:169

List Export Center packages (V3 — consolidated, page-based).

ListExportPackagesV3Params = {}

Promise<ExportPackage[]>


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.

ListExportProductsParams = {}

Promise<ExportProduct[]>


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.

ExportPriceUpdateInput[]

Promise<ExportBatchAcceptedResponse>

when priceInfos is empty / oversized.


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).

ExportStockUpdateInput[]

Promise<ExportBatchAcceptedResponse>

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.