Skip to content

QuantitySplit

Defined in: sdks/trendyol/src/types/order.ts:243

Per-line quantity split for orders.splitPackageByQuantity. Each item in quantities becomes its own new package containing that many units of orderLineId.

// splits 5 units of line 100 into 3 packages: 2 + 2 + 1
{ orderLineId: 100, quantities: [2, 2, 1] }

orderLineId: number

Defined in: sdks/trendyol/src/types/order.ts:244


quantities: number[]

Defined in: sdks/trendyol/src/types/order.ts:245

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.