Skip to content

ClaimsResource

Defined in: sdks/n11/src/resources/claims.ts:156

Return and cancel claims (SOAP ReturnService / ClaimCancelService).

Source: developer.n11.com → “İade Talepleri Servisi” / “Parçalı İptal Talebi” and the two WSDLs. The lists and reason types were verified against prod on 2026-10-10 (list dates are DD/MM/YYYY strings). n11 fixes the page size (20 per page); limit is ignored.

The return writes (approveReturn, denyReturn, postponeReturn) use the WSDL’s element names; on n11’s test store (2026-10-13) a claim that is already approved answered each with an “uygun durumda değildir” failure (ValidationError), which confirms the request shape, but no claim in a writable state was available to see a success. Partial cancel is orders.cancelItem.

new ClaimsResource(transport): ClaimsResource

Defined in: sdks/n11/src/resources/claims.ts:157

N11Transport

ClaimsResource

approveReturn(claimReturnId, opts?): Promise<void>

Defined in: sdks/n11/src/resources/claims.ts:239

Approve a return (ClaimReturnApprove). splitQuantity (a WSDL field the docs do not describe) approves part of the claimed quantity.

string | number

number

Promise<void>


denyReturn(params): Promise<void>

Defined in: sdks/n11/src/resources/claims.ts:266

Deny a return (ClaimReturnDeny). denyReasonId comes from getReturnDenyReasons. n11’s rules for the shipment fields: leave returnShipmentType empty when the reason is “Ürün Mağazaya Ulaşmadı”; otherwise CAMPAIGN (leave carrier, tracking and receipt empty; n11 issues a campaign code) or CUSTOM (send trackingNumber once the item is shipped back).

“Leave empty” means an empty element: the shipment fields are always sent, empty when unset, as in n11’s example. Without them n11 answered a CAMPAIGN denial with “trackingNumber alanı geçersizdir” (test store, 2026-10-16). A denial opens a deny request and the claim stays REQUESTED while n11 operations review it; its sellerCampaignNumber is then the code for sending the item back to the buyer.

DenyN11ReturnParams

Promise<void>


getCancelDenyReasons(): Promise<N11ReasonType[]>

Defined in: sdks/n11/src/resources/claims.ts:308

Reasons a seller may give when denying a cancel claim (ClaimCancelDenyReasonType).

Promise<N11ReasonType[]>


getReturnDenyReasons(): Promise<N11ReasonType[]>

Defined in: sdks/n11/src/resources/claims.ts:218

Reasons a seller may give when denying a return (ClaimReturnDenyReasonTypes).

Promise<N11ReasonType[]>


getReturnPendingReasons(): Promise<N11ReasonType[]>

Defined in: sdks/n11/src/resources/claims.ts:227

Reasons a seller may give when postponing a return (ClaimReturnPendingReasonTypes).

Promise<N11ReasonType[]>


listCancels(params?): Promise<CursorPage<N11CancelClaim>>

Defined in: sdks/n11/src/resources/claims.ts:193

Cancel claims (ClaimCancelList). Buyer cancel requests were retired long ago, says n11 (2026-10-13), and of the cancel-claim service only the partial cancel (ClaimCancelPartial) is still active, so this list may hold old claims only. It still answers on prod (2026-10-10).

ListN11CancelsParams = {}

Promise<CursorPage<N11CancelClaim>>


listReturns(params?): Promise<CursorPage<N11ReturnClaim>>

Defined in: sdks/n11/src/resources/claims.ts:166

Return claims (ClaimReturnList). n11 lists REQUESTED claims when no status is given, but only those whose return shipment has reached the seller: a claim still on its way back reads REQUESTED yet shows up under status: 'ALL' only (test store, 2026-10-16). The seller can decide on a claim only once it is listed under REQUESTED.

ListN11ReturnsParams = {}

Promise<CursorPage<N11ReturnClaim>>


postponeReturn(params): Promise<void>

Defined in: sdks/n11/src/resources/claims.ts:293

Postpone a return decision (ClaimReturnPending). pendingReasonId comes from getReturnPendingReasons.

PostponeN11ReturnParams

Promise<void>

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.