Skip to content

UnapprovedProduct

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

An unapproved (draft) product as returned by filterUnapprovedProducts.

Important: the wire shape is flatter than the approved-product shape exposed by Productbarcode, quantity, salePrice, etc. live at the root (no variants[] array). Each draft is one barcode/SKU.

Verified against Trendyol STAGE on 2026-05-25. The official OpenAPI spec calls the image-list field media, but the live API returns it as images. SDK normalizes to images.

attributes: ProductAttribute[]

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

ProductContentBase.attributes


barcode: string

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


brand: NamedRef

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

ProductContentBase.brand


category: NamedRef

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

ProductContentBase.category


optional createdAt?: string

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

ISO 8601 UTC string (from createDateTime ms-epoch).


optional description?: string

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

ProductContentBase.description


optional dimensionalWeight?: number

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


images: string[]

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

Image URLs in display order.

ProductContentBase.images


optional lastPriceChangedAt?: string

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

ISO 8601 UTC string (from lastPriceChangeDate).


optional lastStockChangedAt?: string

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

ISO 8601 UTC string (from lastStockChangeDate).


optional listPrice?: number

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


optional locationBasedDelivery?: "ENABLED" | "DISABLED" | null

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


optional lotNumber?: string | null

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


optional origin?: string | null

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

Returned by Trendyol; null when the seller has not configured this.


productMainId: string

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

ProductContentBase.productMainId


optional quantity?: number

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

Stock quantity at the moment of the query.


raw: Record<string, unknown>

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

Untouched raw response.


rejectReasonDetails: UnapprovedProductRejectReason[]

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

Populated when status === 'rejected'.


optional salePrice?: number

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


optional sgrPrice?: number | null

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

Suggested governance retail price (Suggested Government Retail price).


optional specialConsumptionTax?: number | null

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

Special consumption tax (ÖTV) where applicable.


optional status?: UnapprovedProductStatus

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

Lifecycle status — see UnapprovedProductStatus.


optional stockCode?: string

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


optional supplierId?: string

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

Seller (supplier) ID echoed back by Trendyol.


title: string

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

ProductContentBase.title


optional updatedAt?: string

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

ISO 8601 UTC string (from lastUpdateDate).


optional vatRate?: number

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

VAT rate as a percentage (e.g. 20 for 20%).

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.