Skip to content

VideosResource

Defined in: sdks/trendyol/src/resources/videos.ts:15

Trendyol Video API (seller-integration-video-api) — product video uploads. Upload happens server-side from a URL the seller provides; the SDK exposes the create + list endpoints.

Base path: /integration/video/sellers/{sellerId}/videos. Trendyol publishes per-endpoint rate limits — create at 200 req/min, list at 1000 req/min — which the SDK provisions as two separate token buckets so listing doesn’t exhaust the create budget.

new VideosResource(transport, options?): VideosResource

Defined in: sdks/trendyol/src/resources/videos.ts:19

TrendyolTransport

TokenBucketRateLimiter

TokenBucketRateLimiter

VideosResource

create(input): Promise<unknown>

Defined in: sdks/trendyol/src/resources/videos.ts:38

Queue a video for upload. Trendyol downloads from the URL in the body asynchronously; poll list() (filtered by id) for status.

CreateVideoInput

Promise<unknown>

when input is empty / not an object.


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

Defined in: sdks/trendyol/src/resources/videos.ts:51

List the seller’s integration videos (optionally filtered by id / status).

ListVideosParams = {}

Promise<SellerVideo[]>

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.