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 Product — barcode, 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.
Properties
Section titled “Properties”attributes
Section titled “attributes”attributes:
ProductAttribute[]
Defined in: sdks/trendyol/src/types/product.ts:117
barcode
Section titled “barcode”barcode:
string
Defined in: sdks/trendyol/src/types/product.ts:104
brand:
NamedRef
Defined in: sdks/trendyol/src/types/product.ts:102
category
Section titled “category”category:
NamedRef
Defined in: sdks/trendyol/src/types/product.ts:103
createdAt?
Section titled “createdAt?”
optionalcreatedAt?:string
Defined in: sdks/trendyol/src/types/product.ts:129
ISO 8601 UTC string (from createDateTime ms-epoch).
description?
Section titled “description?”
optionaldescription?:string
Defined in: sdks/trendyol/src/types/product.ts:106
dimensionalWeight?
Section titled “dimensionalWeight?”
optionaldimensionalWeight?:number
Defined in: sdks/trendyol/src/types/product.ts:113
images
Section titled “images”images:
string[]
Defined in: sdks/trendyol/src/types/product.ts:116
Image URLs in display order (Trendyol’s images field, spec says media).
lastPriceChangedAt?
Section titled “lastPriceChangedAt?”
optionallastPriceChangedAt?:string
Defined in: sdks/trendyol/src/types/product.ts:133
ISO 8601 UTC string (from lastPriceChangeDate).
lastStockChangedAt?
Section titled “lastStockChangedAt?”
optionallastStockChangedAt?:string
Defined in: sdks/trendyol/src/types/product.ts:135
ISO 8601 UTC string (from lastStockChangeDate).
listPrice?
Section titled “listPrice?”
optionallistPrice?:number
Defined in: sdks/trendyol/src/types/product.ts:109
locationBasedDelivery?
Section titled “locationBasedDelivery?”
optionallocationBasedDelivery?:"ENABLED"|"DISABLED"|null
Defined in: sdks/trendyol/src/types/product.ts:122
lotNumber?
Section titled “lotNumber?”
optionallotNumber?:string|null
Defined in: sdks/trendyol/src/types/product.ts:123
origin?
Section titled “origin?”
optionalorigin?:string|null
Defined in: sdks/trendyol/src/types/product.ts:121
Returned by Trendyol; null when the seller has not configured this.
productMainId
Section titled “productMainId”productMainId:
string
Defined in: sdks/trendyol/src/types/product.ts:99
quantity?
Section titled “quantity?”
optionalquantity?: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
Section titled “rejectReasonDetails”rejectReasonDetails:
UnapprovedProductRejectReason[]
Defined in: sdks/trendyol/src/types/product.ts:119
Populated when status === 'rejected'.
salePrice?
Section titled “salePrice?”
optionalsalePrice?:number
Defined in: sdks/trendyol/src/types/product.ts:110
sgrPrice?
Section titled “sgrPrice?”
optionalsgrPrice?:number|null
Defined in: sdks/trendyol/src/types/product.ts:127
Suggested governance retail price (Suggested Government Retail price).
specialConsumptionTax?
Section titled “specialConsumptionTax?”
optionalspecialConsumptionTax?:number|null
Defined in: sdks/trendyol/src/types/product.ts:125
Special consumption tax (ÖTV) where applicable.
status?
Section titled “status?”
optionalstatus?:UnapprovedProductStatus
Defined in: sdks/trendyol/src/types/product.ts:101
Lifecycle status — see UnapprovedProductStatus.
stockCode?
Section titled “stockCode?”
optionalstockCode?:string
Defined in: sdks/trendyol/src/types/product.ts:114
supplierId?
Section titled “supplierId?”
optionalsupplierId?: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
updatedAt?
Section titled “updatedAt?”
optionalupdatedAt?:string
Defined in: sdks/trendyol/src/types/product.ts:131
ISO 8601 UTC string (from lastUpdateDate).
vatRate?
Section titled “vatRate?”
optionalvatRate?: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.