normalizeShipmentPackage
normalizeShipmentPackage(
rawNode):ShipmentPackage
Defined in: sdks/trendyol/src/resources/orders.ts:285
Normalize one raw Trendyol shipment-package node into the public
ShipmentPackage shape. Exported so consumers handling Trendyol
webhooks can reuse the SDK’s normalization logic on the event body
(Trendyol POSTs the same shape it returns from getShipmentPackages).
For full-webhook parsing use parseWebhookEvent(rawBody) from the
top-level package, which calls this internally per item.
Parameters
Section titled “Parameters”rawNode
Section titled “rawNode”unknown
Returns
Section titled “Returns”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.