Skip to content

MarketplaceCapabilities

Defined in: packages/core/src/capabilities.ts:11

The cross-marketplace feature-capability contract.

Each SDK exposes a literal *Capabilities constant that satisfies this interface (kept as const, so the marketplace-specific true/false values stay narrowed). Sharing the contract — not the values — means consumers writing marketplace-agnostic code can rely on the same key set being present on every client.capabilities, and a renamed or missing flag becomes a compile error instead of a silent undefined at runtime.

listingUpdatedAt: boolean

Defined in: packages/core/src/capabilities.ts:20

Whether listing rows reliably carry a last-update timestamp, so last-write-wins guards can depend on it.


scheduledPricing: boolean

Defined in: packages/core/src/capabilities.ts:13

Whether the marketplace supports time-bounded / scheduled pricing windows.


stockOnlyBatch: boolean

Defined in: packages/core/src/capabilities.ts:15

Whether stock-only batch updates (quantity without price) are accepted.

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.