Skip to content

WebhookInput

Defined in: sdks/trendyol/src/types/webhook.ts:19

Payload for webhooks.create / webhooks.update. Same shape for both.

optional apiKey?: string

Defined in: sdks/trendyol/src/types/webhook.ts:29

API key (only when authenticationType === 'API_KEY').


authenticationType: WebhookAuthenticationType

Defined in: sdks/trendyol/src/types/webhook.ts:23

Auth scheme Trendyol will use to call your endpoint.


optional password?: string

Defined in: sdks/trendyol/src/types/webhook.ts:27

Password (only when authenticationType === 'BASIC_AUTHENTICATION').


optional subscribedStatuses?: string[]

Defined in: sdks/trendyol/src/types/webhook.ts:37

Order statuses you want events for. Empty/omitted = all statuses. Trendyol accepts the same vocabulary as ShipmentPackageStatus (the upper-snake-case variants — 'CREATED', 'PICKING', etc. — see Trendyol docs for the exact wire spelling, which sometimes differs from the read-side 'Created'/'Picking').


url: string

Defined in: sdks/trendyol/src/types/webhook.ts:21

Your endpoint URL (must accept POST JSON from Trendyol).


optional username?: string

Defined in: sdks/trendyol/src/types/webhook.ts:25

Username (only when authenticationType === 'BASIC_AUTHENTICATION').

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.