Skip to content

ClaimsResource

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

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:61

HepsiburadaTransport

TokenBucketRateLimiter

ClaimsResource

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

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

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

string

ClaimActionInput = {}

Promise<unknown>


create(input): Promise<unknown>

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

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

CreateClaimInput

Promise<unknown>


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

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

List all claims (date-range / pagination filters optional).

ListClaimsParams = {}

Promise<Claim[]>


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

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

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<unknown>

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

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

string

ClaimActionInput = {}

Promise<unknown>


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

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

Reject a customer claim.

string

ClaimActionInput = {}

Promise<unknown>

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.