Skip to content

ProductStockPriceVariant

Defined in: sdks/trendyol/src/types/product.ts:162

A single variant’s stock + price, returned by products.listInventoryAndPrice (Trendyol’s lightweight inventory-and-price filter). Intentionally narrow: this endpoint returns only pricing + stock, not the full product/variant shape exposed by ProductVariant.

barcode: string

Defined in: sdks/trendyol/src/types/product.ts:164


optional listPrice?: number

Defined in: sdks/trendyol/src/types/product.ts:168

List price (pre-discount reference price).


optional quantity?: number

Defined in: sdks/trendyol/src/types/product.ts:170

Stock quantity.


raw: Record<string, unknown>

Defined in: sdks/trendyol/src/types/product.ts:178

Untouched raw response.


optional salePrice?: number

Defined in: sdks/trendyol/src/types/product.ts:166

Sale price (price the customer pays).


optional stockCode?: string

Defined in: sdks/trendyol/src/types/product.ts:171


optional stockLastModifiedAt?: string

Defined in: sdks/trendyol/src/types/product.ts:176

ISO 8601 UTC string (from stockLastModifiedDate ms-epoch). Absent when the variant’s stock has never been updated (Trendyol returns null).


variantId: string

Defined in: sdks/trendyol/src/types/product.ts:163

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.