Skip to content

UnapprovedProduct

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

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:117


barcode: string

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


brand: NamedRef

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


category: NamedRef

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


optional createdAt?: string

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

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


optional description?: string

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


optional dimensionalWeight?: number

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


images: string[]

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

Image URLs in display order (Trendyol’s images field, spec says media).


optional lastPriceChangedAt?: string

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

ISO 8601 UTC string (from lastPriceChangeDate).


optional lastStockChangedAt?: string

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

ISO 8601 UTC string (from lastStockChangeDate).


optional listPrice?: number

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


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

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


optional lotNumber?: string | null

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


optional origin?: string | null

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

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


productMainId: string

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


optional quantity?: number

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

Stock quantity at the moment of the query.


raw: Record<string, unknown>

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

Untouched raw response.


rejectReasonDetails: UnapprovedProductRejectReason[]

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

Populated when status === 'rejected'.


optional salePrice?: number

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


optional sgrPrice?: number | null

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

Suggested governance retail price (Suggested Government Retail price).


optional specialConsumptionTax?: number | null

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

Special consumption tax (ÖTV) where applicable.


optional status?: UnapprovedProductStatus

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

Lifecycle status — see UnapprovedProductStatus.


optional stockCode?: string

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


optional supplierId?: string

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

Seller (supplier) ID echoed back by Trendyol.


title: string

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


optional updatedAt?: string

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

ISO 8601 UTC string (from lastUpdateDate).


optional vatRate?: number

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

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.