pollBatchStatus
pollBatchStatus(
getStatus,batchRequestId,opts?):Promise<BatchRequestResult>
Defined in: sdks/trendyol/src/resources/inventory.ts:37
Poll a Trendyol batch request until it reaches a terminal state
(COMPLETED / FAILED) or the timeout elapses.
Standalone so callers can poll an id obtained elsewhere (e.g. a persisted
batchRequestId from a previous process) without going through
InventoryResource.updateAndWait.
Parameters
Section titled “Parameters”getStatus
Section titled “getStatus”BatchStatusPoller
batchRequestId
Section titled “batchRequestId”string
BatchPollOptions = {}
Returns
Section titled “Returns”Promise<BatchRequestResult>
Throws
Section titled “Throws”when the batch does not settle within timeoutMs;
error.data carries { batchRequestId, lastStatus, lastResult }.
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.