Skip to content

QuestionsResource

Defined in: sdks/hepsiburada/src/resources/questions.ts:29

Hepsiburada “Ask the Seller” (saticiya-sor-entegrasyonu).

Service base URL: api-asktoseller-merchant[-sit].hepsiburada.com (per the portal spec — routing through oms-external returns 401 because the routes don’t exist there; verified on SIT 2026-08-30, where the rerouted calls answer 200). 6-endpoint surface — list / get / create / answer / reject / count.

Every endpoint requires the merchant id in a merchantId header (missing it yields 401); the SDK sends it automatically.

new QuestionsResource(transport, limiter?): QuestionsResource

Defined in: sdks/hepsiburada/src/resources/questions.ts:32

HepsiburadaTransport

TokenBucketRateLimiter

QuestionsResource

answer(number, input): Promise<MutationResult>

Defined in: sdks/hepsiburada/src/resources/questions.ts:127

Answer a question. Resolves to a MutationResult (201, bare string on raw).

string

AnswerQuestionInput

Promise<MutationResult>


create(input): Promise<MutationResult>

Defined in: sdks/hepsiburada/src/resources/questions.ts:112

Create a new buyer question. SIT-only: Hepsiburada exposes it so integrators can seed test data (the buyer normally creates questions).

Resolves to a MutationResult. The spec documents the 201 body as a bare number[] without naming the elements, so it is left on raw rather than modelled as a field.

CreateQuestionInput

Promise<MutationResult>


get(number): Promise<Question>

Defined in: sdks/hepsiburada/src/resources/questions.ts:63

Get a single question by its issue number.

string

Promise<Question>


getCountByStatus(): Promise<QuestionCountSummary>

Defined in: sdks/hepsiburada/src/resources/questions.ts:78

Per-status question counts.

Promise<QuestionCountSummary>


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

Defined in: sdks/hepsiburada/src/resources/questions.ts:44

List questions with optional status / date filtering. Pages with the API’s page/size parameters (the legacy offset/limit params are kept as aliases).

ListQuestionsParams = {}

Promise<Question[]>


reject(number, input): Promise<MutationResult>

Defined in: sdks/hepsiburada/src/resources/questions.ts:145

Reject a question (mark as inappropriate / spam). Resolves to a MutationResult (201, bare string on raw).

string

RejectQuestionInput

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.