Skip to content

statusMap

const statusMap: Record<KnownN11PackageStatus, NormalizedOrderStatus>

Defined in: sdks/n11/src/status.ts:12

Exhaustive map from n11’s documented shipment-package statuses to the marketplace-agnostic NormalizedOrderStatus vocabulary.

Because the key type is the closed KnownN11PackageStatus union, adding a value there without mapping it here is a compile-time error. n11 has no Invoiced or Returned package status (returns are claims).

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.