Compensation Integration

Compensation Integration

With this service, you can track your compensation transactions for your order packages whose cargo company is TEX.

  • The "startDate" and "endDate" parameters are listed in DESC according to the createDate field.

GET Compensation Integration (tickets)

Service Parameters

ParametreDescriptionType
pageReturns only information on the specified pageint
sizeSpecifies the maximum number to be listed on a page. It can take a maximum value of 100 (the default value is 10)int
startDateReturns compensation transactions after a certain date. Must be sent as Timestamp and GMT +3.long
endDateReturns compensation transactions up to the specified date. Must be sent as Timestamp and GMT +3.long

Sample Service Response

{
    "data": [
        {
            "cargoProvider": "TEX",
            "compensateReason": "Kayıp",
            "createDate": 1000999888777,
            "currentState": "IN_PROGRESS",
            "deliveryNumber": "7332222222222222",
            "itemDetails": [],
            "orderNumber": "11111111111",
            "requestedBy": "TEX",
            "stateMessage": "Tazmin talebiniz inceleniyor",
            "totalItemsAmount": ""
        },
        {
            "cargoProvider": "TEX",
            "compensateReason": "Kayıp",
            "createDate": 2000999888777,
            "currentState": "IN_PROGRESS",
            "deliveryNumber": "7331111111111111",
            "itemDetails": [],
            "orderNumber": "11111111112",
            "requestedBy": "TEX",
            "stateMessage": "Tazmin talebiniz inceleniyor",
            "totalItemsAmount": ""
        }
    ],
    "totalCount": 2
}

CurrentState Values

ValueExplanation
EmptyYour compensation request has been rejected based on the investigations,
MarkInCompensationYour compensation request is being reviewed,
OpenedForRefundYour compensation request is being reviewed,
StartCompensationFinanceProgressYour compensation request has been approved. The amount to be invoiced will be transferred to the Finance> Invoice Listing> Invoices I Need to Issue to Trendyol page within 15 business days at the latest.
StartCompensationInApprovalProgressYour compensation request has been approved. The amount to be invoiced will be transferred to the Finance> Invoice Listing> Invoices I Need to Issue to Trendyol page within 15 business days at the latest.
CompensationApprovedYour compensation request has been approved. The amount to be invoiced will be transferred to the Finance> Invoice Listing> Invoices I Need to Issue to Trendyol page within 15 business days at the latest.
CompensationRejectedYour compensation request has been approved. The amount to be invoiced will be transferred to the Finance> Invoice Listing> Invoices I Need to Issue to Trendyol page within 15 business days at the latest.
FoundAfterCompensationCompleteYour shipment has been found and will be returned,
NotCompensationCaseYour compensation request has been rejected based on the investigations,
FoundInCompensationYour shipment has been found and will be returned,
FoundInvestigationProgressYour shipment has been found and will be returned,
MarkCompensationCancelYour compensation request has been rejected based on the investigations,
CreateCompensationTicketYour compensation request is being reviewed,
FinalizeCompensationYour compensation request has been approved. The amount to be invoiced will be transferred to the Finance> Invoice Listing> Invoices I Need to Issue to Trendyol page within 15 business days at the latest.
CloseCompensationTicketYour shipment has been found and will be returned,
FoundInvestigationProgressDeliveredToCustomerYour shipment has been found and will be delivered to the customer,
FoundInCompensationDeliveredToCustomerYour shipment has been found and will be delivered to the customer,
FoundAfterCompensationCompleteDeliveredToCustomerYour shipment has been found and will be delivered to the customer,