Skip to content

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().

optional cargoProvider?: string

Defined in: sdks/trendyol/src/types/returns.ts:58


optional compensateReason?: string

Defined in: sdks/trendyol/src/types/returns.ts:59


optional createdAt?: string

Defined in: sdks/trendyol/src/types/returns.ts:61

ISO 8601 UTC string (converted from createDate ms-epoch).


optional currentState?: CompensationTicketState

Defined in: sdks/trendyol/src/types/returns.ts:62


optional deliveryNumber?: string

Defined in: sdks/trendyol/src/types/returns.ts:63


itemDetails: CompensationItemDetail[]

Defined in: sdks/trendyol/src/types/returns.ts:64


optional orderNumber?: 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.


optional requestedBy?: string

Defined in: sdks/trendyol/src/types/returns.ts:66


optional stateMessage?: string

Defined in: sdks/trendyol/src/types/returns.ts:67


optional totalItemsAmount?: 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.