WebhookEvent
Defined in: sdks/trendyol/src/types/webhook-event.ts:63
The parsed webhook event body. packages is the normalized
content[] from the inbound JSON; pageInfo carries Trendyol’s
pagination envelope verbatim so you can log / surface it.
In practice packages.length === 1 for status-change events, but the
model is defined as a page so the same handler can absorb future
batch events without breaking.
Properties
Section titled “Properties”packages
Section titled “packages”packages:
ShipmentPackage[]
Defined in: sdks/trendyol/src/types/webhook-event.ts:64
pageInfo
Section titled “pageInfo”pageInfo:
object
Defined in: sdks/trendyol/src/types/webhook-event.ts:65
optionalpage?:number
optionalsize?:number
totalElements?
Section titled “totalElements?”
optionaltotalElements?:number
totalPages?
Section titled “totalPages?”
optionaltotalPages?:number
raw:
Record<string,unknown>
Defined in: sdks/trendyol/src/types/webhook-event.ts:72
Raw inbound body — fall back here for fields the SDK doesn’t surface.
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.