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.
Properties
Section titled “Properties”agreedDeliveryDate?
Section titled “agreedDeliveryDate?”
optionalagreedDeliveryDate?:string
Defined in: sdks/trendyol/src/types/order.ts:314
cargoProviderId?
Section titled “cargoProviderId?”
optionalcargoProviderId?:string
Defined in: sdks/trendyol/src/types/order.ts:335
cargoProviderName?
Section titled “cargoProviderName?”
optionalcargoProviderName?:string
Defined in: sdks/trendyol/src/types/order.ts:334
cargoSenderNumber?
Section titled “cargoSenderNumber?”
optionalcargoSenderNumber?:string
Defined in: sdks/trendyol/src/types/order.ts:336
cargoTrackingNumber?
Section titled “cargoTrackingNumber?”
optionalcargoTrackingNumber?:string
Defined in: sdks/trendyol/src/types/order.ts:333
commercial?
Section titled “commercial?”
optionalcommercial?:boolean
Defined in: sdks/trendyol/src/types/order.ts:347
containsDangerousProduct?
Section titled “containsDangerousProduct?”
optionalcontainsDangerousProduct?:boolean
Defined in: sdks/trendyol/src/types/order.ts:352
createdBy?
Section titled “createdBy?”
optionalcreatedBy?:string
Defined in: sdks/trendyol/src/types/order.ts:358
currencyCode
Section titled “currencyCode”currencyCode:
string
Defined in: sdks/trendyol/src/types/order.ts:320
customer
Section titled “customer”customer:
OrderCustomer
Defined in: sdks/trendyol/src/types/order.ts:309
deliveredByService?
Section titled “deliveredByService?”
optionaldeliveredByService?:boolean
Defined in: sdks/trendyol/src/types/order.ts:344
deliveryAddressType?
Section titled “deliveryAddressType?”
optionaldeliveryAddressType?:string
Defined in: sdks/trendyol/src/types/order.ts:330
deliveryType?
Section titled “deliveryType?”
optionaldeliveryType?:string
Defined in: sdks/trendyol/src/types/order.ts:339
estimatedDeliveryEndDate?
Section titled “estimatedDeliveryEndDate?”
optionalestimatedDeliveryEndDate?:string
Defined in: sdks/trendyol/src/types/order.ts:316
estimatedDeliveryStartDate?
Section titled “estimatedDeliveryStartDate?”
optionalestimatedDeliveryStartDate?:string
Defined in: sdks/trendyol/src/types/order.ts:315
fastDelivery?
Section titled “fastDelivery?”
optionalfastDelivery?:boolean
Defined in: sdks/trendyol/src/types/order.ts:342
fastDeliveryType?
Section titled “fastDeliveryType?”
optionalfastDeliveryType?:string
Defined in: sdks/trendyol/src/types/order.ts:343
giftBoxRequested?
Section titled “giftBoxRequested?”
optionalgiftBoxRequested?: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.
invoiceAddress?
Section titled “invoiceAddress?”
optionalinvoiceAddress?:OrderAddress
Defined in: sdks/trendyol/src/types/order.ts:328
invoiceLink?
Section titled “invoiceLink?”
optionalinvoiceLink?:string
Defined in: sdks/trendyol/src/types/order.ts:357
optionalis4P?:boolean
Defined in: sdks/trendyol/src/types/order.ts:354
isCod?
Section titled “isCod?”
optionalisCod?:boolean
Defined in: sdks/trendyol/src/types/order.ts:353
lastModifiedDate
Section titled “lastModifiedDate”lastModifiedDate:
string
Defined in: sdks/trendyol/src/types/order.ts:313
lines:
OrderLine[]
Defined in: sdks/trendyol/src/types/order.ts:361
micro?
Section titled “micro?”
optionalmicro?:boolean
Defined in: sdks/trendyol/src/types/order.ts:348
orderDate
Section titled “orderDate”orderDate:
string
Defined in: sdks/trendyol/src/types/order.ts:312
orderNumber
Section titled “orderNumber”orderNumber:
string
Defined in: sdks/trendyol/src/types/order.ts:297
originPackageIds?
Section titled “originPackageIds?”
optionaloriginPackageIds?:string[] |null
Defined in: sdks/trendyol/src/types/order.ts:299
originShipmentDate?
Section titled “originShipmentDate?”
optionaloriginShipmentDate?:string
Defined in: sdks/trendyol/src/types/order.ts:317
packageGrossAmount
Section titled “packageGrossAmount”packageGrossAmount:
number
Defined in: sdks/trendyol/src/types/order.ts:322
packageHistories
Section titled “packageHistories”packageHistories:
PackageHistoryEntry[]
Defined in: sdks/trendyol/src/types/order.ts:362
packageSellerDiscount
Section titled “packageSellerDiscount”packageSellerDiscount:
number
Defined in: sdks/trendyol/src/types/order.ts:323
packageTotalDiscount
Section titled “packageTotalDiscount”packageTotalDiscount:
number
Defined in: sdks/trendyol/src/types/order.ts:325
packageTotalPrice
Section titled “packageTotalPrice”packageTotalPrice:
number
Defined in: sdks/trendyol/src/types/order.ts:321
packageTyDiscount
Section titled “packageTyDiscount”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.
shipmentAddress?
Section titled “shipmentAddress?”
optionalshipmentAddress?:OrderAddress
Defined in: sdks/trendyol/src/types/order.ts:329
shipmentNumber?
Section titled “shipmentNumber?”
optionalshipmentNumber?:string
Defined in: sdks/trendyol/src/types/order.ts:298
shipmentPackageStatus?
Section titled “shipmentPackageStatus?”
optionalshipmentPackageStatus?:ShipmentPackageStatus
Defined in: sdks/trendyol/src/types/order.ts:306
Usually identical to status; surfaced for completeness.
status
Section titled “status”status:
ShipmentPackageStatus
Defined in: sdks/trendyol/src/types/order.ts:304
supplierId?
Section titled “supplierId?”
optionalsupplierId?:string
Defined in: sdks/trendyol/src/types/order.ts:301
threePByTrendyol?
Section titled “threePByTrendyol?”
optionalthreePByTrendyol?:boolean
Defined in: sdks/trendyol/src/types/order.ts:351
Renamed from Trendyol’s wire field 3pByTrendyol (identifier cannot start with a digit).
timeSlotId?
Section titled “timeSlotId?”
optionaltimeSlotId?:number
Defined in: sdks/trendyol/src/types/order.ts:341
warehouseId?
Section titled “warehouseId?”
optionalwarehouseId?:string
Defined in: sdks/trendyol/src/types/order.ts:300
whoPays?
Section titled “whoPays?”
optionalwhoPays?: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.