Skip to content

ShipmentPackage

Defined in: sdks/trendyol/src/types/order.ts:293

A Trendyol order — Trendyol models orders as “shipment packages”. A single customer order may produce multiple shipment packages (one per warehouse, one per cancellation, etc.).

id is the shipmentPackageId (the operational unit); orderNumber groups packages that came from the same customer order.

optional agreedDeliveryDate?: string

Defined in: sdks/trendyol/src/types/order.ts:314


optional cargoProviderId?: string

Defined in: sdks/trendyol/src/types/order.ts:335


optional cargoProviderName?: string

Defined in: sdks/trendyol/src/types/order.ts:334


optional cargoSenderNumber?: string

Defined in: sdks/trendyol/src/types/order.ts:336


optional cargoTrackingNumber?: string

Defined in: sdks/trendyol/src/types/order.ts:333


optional commercial?: boolean

Defined in: sdks/trendyol/src/types/order.ts:347


optional containsDangerousProduct?: boolean

Defined in: sdks/trendyol/src/types/order.ts:352


optional createdBy?: string

Defined in: sdks/trendyol/src/types/order.ts:358


currencyCode: string

Defined in: sdks/trendyol/src/types/order.ts:320


customer: OrderCustomer

Defined in: sdks/trendyol/src/types/order.ts:309


optional deliveredByService?: boolean

Defined in: sdks/trendyol/src/types/order.ts:344


optional deliveryAddressType?: string

Defined in: sdks/trendyol/src/types/order.ts:330


optional deliveryType?: string

Defined in: sdks/trendyol/src/types/order.ts:339


optional estimatedDeliveryEndDate?: string

Defined in: sdks/trendyol/src/types/order.ts:316


optional estimatedDeliveryStartDate?: string

Defined in: sdks/trendyol/src/types/order.ts:315


optional fastDelivery?: boolean

Defined in: sdks/trendyol/src/types/order.ts:342


optional fastDeliveryType?: string

Defined in: sdks/trendyol/src/types/order.ts:343


optional giftBoxRequested?: boolean

Defined in: sdks/trendyol/src/types/order.ts:349


id: string

Defined in: sdks/trendyol/src/types/order.ts:296

shipmentPackageId — the operational identifier for this package.


optional invoiceAddress?: OrderAddress

Defined in: sdks/trendyol/src/types/order.ts:328


optional invoiceLink?: string

Defined in: sdks/trendyol/src/types/order.ts:357


optional is4P?: boolean

Defined in: sdks/trendyol/src/types/order.ts:354


optional isCod?: boolean

Defined in: sdks/trendyol/src/types/order.ts:353


lastModifiedDate: string

Defined in: sdks/trendyol/src/types/order.ts:313


lines: OrderLine[]

Defined in: sdks/trendyol/src/types/order.ts:361


optional micro?: boolean

Defined in: sdks/trendyol/src/types/order.ts:348


orderDate: string

Defined in: sdks/trendyol/src/types/order.ts:312


orderNumber: string

Defined in: sdks/trendyol/src/types/order.ts:297


optional originPackageIds?: string[] | null

Defined in: sdks/trendyol/src/types/order.ts:299


optional originShipmentDate?: string

Defined in: sdks/trendyol/src/types/order.ts:317


packageGrossAmount: number

Defined in: sdks/trendyol/src/types/order.ts:322


packageHistories: PackageHistoryEntry[]

Defined in: sdks/trendyol/src/types/order.ts:362


packageSellerDiscount: number

Defined in: sdks/trendyol/src/types/order.ts:323


packageTotalDiscount: number

Defined in: sdks/trendyol/src/types/order.ts:325


packageTotalPrice: number

Defined in: sdks/trendyol/src/types/order.ts:321


packageTyDiscount: number

Defined in: sdks/trendyol/src/types/order.ts:324


raw: Record<string, unknown>

Defined in: sdks/trendyol/src/types/order.ts:365

Untouched raw response for fields not modeled yet.


optional shipmentAddress?: OrderAddress

Defined in: sdks/trendyol/src/types/order.ts:329


optional shipmentNumber?: string

Defined in: sdks/trendyol/src/types/order.ts:298


optional shipmentPackageStatus?: ShipmentPackageStatus

Defined in: sdks/trendyol/src/types/order.ts:306

Usually identical to status; surfaced for completeness.


status: ShipmentPackageStatus

Defined in: sdks/trendyol/src/types/order.ts:304


optional supplierId?: string

Defined in: sdks/trendyol/src/types/order.ts:301


optional threePByTrendyol?: boolean

Defined in: sdks/trendyol/src/types/order.ts:351

Renamed from Trendyol’s wire field 3pByTrendyol (identifier cannot start with a digit).


optional timeSlotId?: number

Defined in: sdks/trendyol/src/types/order.ts:341


optional warehouseId?: string

Defined in: sdks/trendyol/src/types/order.ts:300


optional whoPays?: number

Defined in: sdks/trendyol/src/types/order.ts:340

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.