CreateProductV2Input
Defined in: sdks/trendyol/src/types/product-write.ts:47
Payload for one item in createProducts (V2).
Trendyol requires all 14 fields listed in the spec — the type makes them non-optional so missing required fields fail at compile time, not at runtime after a failed batch.
Properties
Section titled “Properties”attributes
Section titled “attributes”attributes:
ProductAttributeV2Input[]
Defined in: sdks/trendyol/src/types/product-write.ts:75
Required attributes for the category — fetch via categories.getAttributes.
barcode
Section titled “barcode”barcode:
string
Defined in: sdks/trendyol/src/types/product-write.ts:49
Barcode (≤40 chars, allows ., -, _).
brandId
Section titled “brandId”brandId:
number
Defined in: sdks/trendyol/src/types/product-write.ts:55
Trendyol numeric brand ID (from brands.list).
categoryId
Section titled “categoryId”categoryId:
number
Defined in: sdks/trendyol/src/types/product-write.ts:57
Trendyol numeric category ID (from categories.list).
deliveryOption?
Section titled “deliveryOption?”
optionaldeliveryOption?:DeliveryOptionInput
Defined in: sdks/trendyol/src/types/product-write.ts:77
Delivery duration / fast-delivery type.
description
Section titled “description”description:
string
Defined in: sdks/trendyol/src/types/product-write.ts:65
HTML-friendly product description (≤30 000 chars).
dimensionalWeight
Section titled “dimensionalWeight”dimensionalWeight:
number
Defined in: sdks/trendyol/src/types/product-write.ts:63
Desi value used for shipping cost calculation.
images
Section titled “images”images:
ProductImageInput[]
Defined in: sdks/trendyol/src/types/product-write.ts:71
1–8 image URLs.
listPrice
Section titled “listPrice”listPrice:
number
Defined in: sdks/trendyol/src/types/product-write.ts:67
List price (PSF). Must be ≥ salePrice.
lotNumber?
Section titled “lotNumber?”
optionallotNumber?:string|null
Defined in: sdks/trendyol/src/types/product-write.ts:79
Lot/SKT info (≤100 chars).
productMainId
Section titled “productMainId”productMainId:
string
Defined in: sdks/trendyol/src/types/product-write.ts:53
Parent product ID for variant grouping (≤40 chars).
quantity
Section titled “quantity”quantity:
number
Defined in: sdks/trendyol/src/types/product-write.ts:59
Initial stock quantity.
returningAddressId?
Section titled “returningAddressId?”
optionalreturningAddressId?:number
Defined in: sdks/trendyol/src/types/product-write.ts:83
Returning warehouse ID.
salePrice
Section titled “salePrice”salePrice:
number
Defined in: sdks/trendyol/src/types/product-write.ts:69
Sale price (TSF).
shipmentAddressId?
Section titled “shipmentAddressId?”
optionalshipmentAddressId?:number
Defined in: sdks/trendyol/src/types/product-write.ts:81
Shipment warehouse ID (from suppliers.getAddresses).
stockCode
Section titled “stockCode”stockCode:
string
Defined in: sdks/trendyol/src/types/product-write.ts:61
Seller-side stock code (≤100 chars).
title:
string
Defined in: sdks/trendyol/src/types/product-write.ts:51
Title (≤100 chars).
vatRate
Section titled “vatRate”vatRate:
number
Defined in: sdks/trendyol/src/types/product-write.ts:73
VAT rate as integer percent (0, 1, 10, 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.