CreateN11ClientOptions
Defined in: sdks/n11/src/client.ts:15
Properties
Section titled “Properties”appKey
Section titled “appKey”appKey:
string
Defined in: sdks/n11/src/client.ts:17
n11 API key, created in the n11 Seller Office (so.n11.com).
appSecret
Section titled “appSecret”appSecret:
string
Defined in: sdks/n11/src/client.ts:19
n11 API secret.
env:
"prod"
Defined in: sdks/n11/src/client.ts:24
Which n11 environment to target. Only 'prod' is documented — n11 publishes
no sandbox. Required anyway, for parity with the other Lonca SDKs.
fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defined in: sdks/n11/src/client.ts:36
Custom fetch implementation. Defaults to the global fetch.
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
integratorName
Section titled “integratorName”integratorName:
string
Defined in: sdks/n11/src/client.ts:30
Integrator name, sent by product write services in the integrator field:
your company name, with no registration at n11. n11 logs by it, so keep it
identical in every request, down to letter case and I/ı/İ/i.
logger?
Section titled “logger?”
optionallogger?:Logger
Defined in: sdks/n11/src/client.ts:32
Optional structured logger (@lonca/core Logger). Defaults to no-op.
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: sdks/n11/src/client.ts:34
Request timeout in ms. Default: 30_000.
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.