CompensationTicket
Defined in: sdks/trendyol/src/types/returns.ts:57
A Trendyol Express compensation ticket — filed when a shipment is lost
or damaged in transit. Returned by orders.getCompensationTickets().
Properties
Section titled “Properties”cargoProvider?
Section titled “cargoProvider?”
optionalcargoProvider?:string
Defined in: sdks/trendyol/src/types/returns.ts:58
compensateReason?
Section titled “compensateReason?”
optionalcompensateReason?:string
Defined in: sdks/trendyol/src/types/returns.ts:59
createdAt?
Section titled “createdAt?”
optionalcreatedAt?:string
Defined in: sdks/trendyol/src/types/returns.ts:61
ISO 8601 UTC string (converted from createDate ms-epoch).
currentState?
Section titled “currentState?”
optionalcurrentState?:CompensationTicketState
Defined in: sdks/trendyol/src/types/returns.ts:62
deliveryNumber?
Section titled “deliveryNumber?”
optionaldeliveryNumber?:string
Defined in: sdks/trendyol/src/types/returns.ts:63
itemDetails
Section titled “itemDetails”itemDetails:
CompensationItemDetail[]
Defined in: sdks/trendyol/src/types/returns.ts:64
orderNumber?
Section titled “orderNumber?”
optionalorderNumber?:string
Defined in: sdks/trendyol/src/types/returns.ts:65
raw:
Record<string,unknown>
Defined in: sdks/trendyol/src/types/returns.ts:71
Untouched raw ticket response.
requestedBy?
Section titled “requestedBy?”
optionalrequestedBy?:string
Defined in: sdks/trendyol/src/types/returns.ts:66
stateMessage?
Section titled “stateMessage?”
optionalstateMessage?:string
Defined in: sdks/trendyol/src/types/returns.ts:67
totalItemsAmount?
Section titled “totalItemsAmount?”
optionaltotalItemsAmount?:string
Defined in: sdks/trendyol/src/types/returns.ts:69
Total amount across items — Trendyol returns this as a string.
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.