Skip to content

ClaimsResource

Defined in: sdks/hepsiburada/src/resources/claims.ts:67

Hepsiburada Claims (Talep) — list, status-based filtering, and accept/reject/preApproval actions plus claim creation.

Two backend services back this surface (the SDK routes automatically; callers don’t pick):

  • List + actions: oms-external[-sit].hepsiburada.com (talep-listeleme)
  • Create: claim-stub-external[-sit].hepsiburada.com (talep-olusturma)

Body shapes for accept, reject, preApprovalConfirm, and create are documented on the developer portal — the SDK passes them through as Record<string, unknown> so future field additions don’t break callers.

new ClaimsResource(transport, limiter?): ClaimsResource

Defined in: sdks/hepsiburada/src/resources/claims.ts:70

HepsiburadaTransport

TokenBucketRateLimiter

ClaimsResource

accept(claimNumber, input?): Promise<MutationResult>

Defined in: sdks/hepsiburada/src/resources/claims.ts:135

Accept (approve) a customer claim. Hepsiburada expects a body — pass the documented c payload via input.

string

ClaimActionInput = {}

Promise<MutationResult>


create(input): Promise<MutationResult>

Defined in: sdks/hepsiburada/src/resources/claims.ts:194

Create a new claim against an order. Routes to the claim-stub backend service.

CreateClaimInput

Promise<MutationResult>


list(params?): Promise<Claim[]>

Defined in: sdks/hepsiburada/src/resources/claims.ts:82

List all claims. Date-range filters are optional; offset/limit default to 0/100 because Hepsiburada rejects a missing limit (400 "LimitCannotBeEmpty"). Pass your own to paginate.

ListClaimsParams = {}

Promise<Claim[]>


listByStatus(status, params?): Promise<Claim[]>

Defined in: sdks/hepsiburada/src/resources/claims.ts:109

List claims filtered to a specific status.

Allowed values (per the published OpenAPI spec, verified live): NewRequest | Accepted | AwaitingAction | InDispute | Rejected | Refunded | Cancelled | AwaitingPreApproval. Any other value returns 400 "Wrong Claim Status" from Hepsiburada.

ClaimStatus

ListClaimsByStatusParams = {}

Promise<Claim[]>

when status is empty.


preApprovalConfirm(claimNumber, input?): Promise<MutationResult>

Defined in: sdks/hepsiburada/src/resources/claims.ts:170

Confirm a “pre-approval” — a Hepsiburada-specific second-step approval flow for certain claim categories.

string

ClaimActionInput = {}

Promise<MutationResult>


reject(claimNumber, input?): Promise<MutationResult>

Defined in: sdks/hepsiburada/src/resources/claims.ts:151

Reject a customer claim.

string

ClaimActionInput = {}

Promise<MutationResult>

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.