Skip to content

CreateN11ClientOptions

Defined in: sdks/n11/src/client.ts:15

appKey: string

Defined in: sdks/n11/src/client.ts:17

n11 API key, created in the n11 Seller Office (so.n11.com).


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.


optional fetch?: (input, init?) => Promise<Response>

Defined in: sdks/n11/src/client.ts:36

Custom fetch implementation. Defaults to the global fetch.

string | URL | Request

RequestInit

Promise<Response>


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.


optional logger?: Logger

Defined in: sdks/n11/src/client.ts:32

Optional structured logger (@lonca/core Logger). Defaults to no-op.


optional timeoutMs?: 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.