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.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ClaimsResource(
transport):ClaimsResource
Defined in: sdks/n11/src/resources/claims.ts:157
Parameters
Section titled “Parameters”transport
Section titled “transport”Returns
Section titled “Returns”ClaimsResource
Methods
Section titled “Methods”approveReturn()
Section titled “approveReturn()”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.
Parameters
Section titled “Parameters”claimReturnId
Section titled “claimReturnId”string | number
splitQuantity?
Section titled “splitQuantity?”number
Returns
Section titled “Returns”Promise<void>
denyReturn()
Section titled “denyReturn()”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.
Parameters
Section titled “Parameters”params
Section titled “params”Returns
Section titled “Returns”Promise<void>
getCancelDenyReasons()
Section titled “getCancelDenyReasons()”getCancelDenyReasons():
Promise<N11ReasonType[]>
Defined in: sdks/n11/src/resources/claims.ts:308
Reasons a seller may give when denying a cancel claim (ClaimCancelDenyReasonType).
Returns
Section titled “Returns”Promise<N11ReasonType[]>
getReturnDenyReasons()
Section titled “getReturnDenyReasons()”getReturnDenyReasons():
Promise<N11ReasonType[]>
Defined in: sdks/n11/src/resources/claims.ts:218
Reasons a seller may give when denying a return (ClaimReturnDenyReasonTypes).
Returns
Section titled “Returns”Promise<N11ReasonType[]>
getReturnPendingReasons()
Section titled “getReturnPendingReasons()”getReturnPendingReasons():
Promise<N11ReasonType[]>
Defined in: sdks/n11/src/resources/claims.ts:227
Reasons a seller may give when postponing a return (ClaimReturnPendingReasonTypes).
Returns
Section titled “Returns”Promise<N11ReasonType[]>
listCancels()
Section titled “listCancels()”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).
Parameters
Section titled “Parameters”params?
Section titled “params?”ListN11CancelsParams = {}
Returns
Section titled “Returns”Promise<CursorPage<N11CancelClaim>>
listReturns()
Section titled “listReturns()”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.
Parameters
Section titled “Parameters”params?
Section titled “params?”ListN11ReturnsParams = {}
Returns
Section titled “Returns”Promise<CursorPage<N11ReturnClaim>>
postponeReturn()
Section titled “postponeReturn()”postponeReturn(
params):Promise<void>
Defined in: sdks/n11/src/resources/claims.ts:293
Postpone a return decision (ClaimReturnPending). pendingReasonId comes
from getReturnPendingReasons.
Parameters
Section titled “Parameters”params
Section titled “params”Returns
Section titled “Returns”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.