Skip to content

PackageStatusInput

PackageStatusInput = object & Record<string, unknown>

Defined in: sdks/hepsiburada/src/types/order.ts:364

Body for the deliver / intransit / undeliver status transitions — the spec’s ExternalInfoRequest (in transit), ExternalDeliverRequest (delivered) and ExternalUnDeliverRequest (not delivered). An undelivered transition needs undeliveredReason; a reason field is not read (400 "incorrect undeliveredReason value", SIT 2026-10-14).

These transitions are for packages shipped with the merchant’s own cargo (“alternative cargo”); a HepsiJet or Aras package is refused with 400 "Package does not have an alternative cargo." (SIT, 2026-10-27). Dates: see PackageStatusDate.

optional cost?: number

In transit: shipping cost.

optional deci?: number

In transit: volumetric weight.

optional digitalCodes?: string[]

Delivered: codes of digital products.

optional estimatedArrivalDate?: PackageStatusDate

In transit: estimated arrival (RFC 3339 with a zone, or a Date).

optional receivedBy?: string

Delivered: who received the package.

optional receivedDate?: PackageStatusDate

Delivered: when it was received (RFC 3339 with a zone, or a Date).

optional shippedDate?: PackageStatusDate

In transit: when the package was handed to the carrier (RFC 3339 with a zone, or a Date).

optional tax?: number

In transit: VAT of the package.

optional trackingNumber?: string

In transit: cargo tracking number.

optional trackingPhoneNumber?: string

In transit: tracking phone number.

optional trackingUrl?: string

In transit: tracking URL.

optional undeliveredDate?: PackageStatusDate

Not delivered: when delivery failed (RFC 3339 with a zone, or a Date).

optional undeliveredReason?: UndeliveredReason

Not delivered: Hepsiburada’s undelivered-reason value; see UndeliveredReason.

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.