Skip to content

CreateClientOptions

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

env: "prod" | "sit"

Defined in: sdks/hepsiburada/src/client.ts:28

Which Hepsiburada environment to target — 'prod' (production) or 'sit' (sandbox). No default — explicit is safer than implicit.


integratorName: string

Defined in: sdks/hepsiburada/src/client.ts:34

Integrator company name sent in User-Agent. Hepsiburada rejects requests without a meaningful User-Agent. Use the bare integrator name configured server-side in the Merchant Portal (e.g. beekod_dev).


optional logger?: Logger

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

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


merchantId: string

Defined in: sdks/hepsiburada/src/client.ts:19

Hepsiburada merchant ID (UUID-shaped). Visible in the Merchant Portal.


password: string

Defined in: sdks/hepsiburada/src/client.ts:23

Hepsiburada API password / secret.


optional timeoutMs?: number

Defined in: sdks/hepsiburada/src/client.ts:38

Request timeout in ms. Default: 30_000.


username: string

Defined in: sdks/hepsiburada/src/client.ts:21

Hepsiburada API username (from Merchant Portal → Settings → Integrations).

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.