CreateXyDiscountInput
CreateXyDiscountInput =
object&Record<string,unknown>
Defined in: sdks/hepsiburada/src/types/promotion.ts:67
Body for promotions.createXyDiscount() — the diskonto spec’s “Sepete X Al
Y Öde İndirimi Oluşturma” request. Undocumented fields pass through.
Type Declaration
Section titled “Type Declaration”conditionCategories?
Section titled “conditionCategories?”
optionalconditionCategories?:string[]
Category ids the campaign applies to.
conditionProductCount?
Section titled “conditionProductCount?”
optionalconditionProductCount?:number
Products required in the cart for the campaign to apply (the X in “buy X pay Y”).
conditionSkus?
Section titled “conditionSkus?”
optionalconditionSkus?:string[]
SKUs the campaign applies to.
endDate?
Section titled “endDate?”
optionalendDate?:string
Campaign end date-time (ISO 8601).
iterationCount?
Section titled “iterationCount?”
optionaliterationCount?:number
How many times the campaign can repeat within one cart.
maxCartCount?
Section titled “maxCartCount?”
optionalmaxCartCount?:number
Maximum number of carts the campaign applies to.
mustPayProductCount?
Section titled “mustPayProductCount?”
optionalmustPayProductCount?:number
Products the customer pays for (the Y in “buy X pay Y”).
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.