CreatePercentDiscountInput
CreatePercentDiscountInput =
object&Record<string,unknown>
Defined in: sdks/hepsiburada/src/types/promotion.ts:40
Body for promotions.createPercentDiscount() — the diskonto spec’s
“Sepete % İndirimi Oluşturma” request. Undocumented fields pass through.
Type Declaration
Section titled “Type Declaration”conditionAmount?
Section titled “conditionAmount?”
optionalconditionAmount?:number
Minimum cart amount for the discount to apply.
conditionCategories?
Section titled “conditionCategories?”
optionalconditionCategories?:string[]
Category ids the campaign applies to.
conditionSkus?
Section titled “conditionSkus?”
optionalconditionSkus?:string[]
SKUs the campaign applies to.
discountPercentage?
Section titled “discountPercentage?”
optionaldiscountPercentage?:number
Percentage discount to apply.
endDate?
Section titled “endDate?”
optionalendDate?:string
Campaign end date-time (ISO 8601).
maxCartCount?
Section titled “maxCartCount?”
optionalmaxCartCount?:number
Maximum number of carts the campaign applies to.
maxDiscountAmount?
Section titled “maxDiscountAmount?”
optionalmaxDiscountAmount?:number
Maximum discount amount that can be applied.
optionalname?:string
Campaign name shown to the seller.
oneTimeUsage?
Section titled “oneTimeUsage?”
optionaloneTimeUsage?:boolean
Whether the campaign is one-time-use per customer.
startDate?
Section titled “startDate?”
optionalstartDate?:string
Campaign start date-time (ISO 8601).
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.