Skip to content

PromotionsResource

Defined in: sdks/hepsiburada/src/resources/promotions.ts:31

Hepsiburada Seller Promotions (satici-promosyonu-entegrasyonu).

Service base URL: oms-external[-sit].hepsiburada.com. 9-endpoint self-service basket-discount lifecycle:

  • list seller’s eligible product categories
  • query budgets / limits
  • list discounts / get single discount
  • create three discount types (TL, %, X-buy-Y-pay)
  • cancel a discount

NOTE: Sandbox beekod_dev merchant doesn’t have permission for this surface; SIT calls return 403. Endpoints typed from the developer-portal spec; live-tested in production by integrators with the right scope.

new PromotionsResource(transport, limiter?): PromotionsResource

Defined in: sdks/hepsiburada/src/resources/promotions.ts:34

HepsiburadaTransport

TokenBucketRateLimiter

PromotionsResource

cancelDiscount(input): Promise<unknown>

Defined in: sdks/hepsiburada/src/resources/promotions.ts:162

Cancel an existing discount.

CancelDiscountInput

Promise<unknown>


createPercentDiscount(input): Promise<unknown>

Defined in: sdks/hepsiburada/src/resources/promotions.ts:138

Create a percentage basket discount.

CreatePercentDiscountInput

Promise<unknown>


createTlDiscount(input): Promise<unknown>

Defined in: sdks/hepsiburada/src/resources/promotions.ts:126

Create a fixed-TL basket discount.

CreateTlDiscountInput

Promise<unknown>


createXyDiscount(input): Promise<unknown>

Defined in: sdks/hepsiburada/src/resources/promotions.ts:150

Create an X-buy-Y-pay basket discount.

CreateXyDiscountInput

Promise<unknown>


getBudgets(): Promise<DiscountBudgets>

Defined in: sdks/hepsiburada/src/resources/promotions.ts:70

Get the seller’s current discount budgets.

Promise<DiscountBudgets>


getDiscount(campaignId): Promise<Discount>

Defined in: sdks/hepsiburada/src/resources/promotions.ts:110

Get a single discount by campaign id.

string

Promise<Discount>


getLimits(): Promise<DiscountLimits>

Defined in: sdks/hepsiburada/src/resources/promotions.ts:81

Get the seller’s discount limits.

Promise<DiscountLimits>


listCategories(): Promise<PromotionCategory[]>

Defined in: sdks/hepsiburada/src/resources/promotions.ts:44

List the seller’s product categories eligible for self-campaigns.

Promise<PromotionCategory[]>


listDiscounts(): Promise<Discount[]>

Defined in: sdks/hepsiburada/src/resources/promotions.ts:92

List the seller’s existing discounts.

Promise<Discount[]>

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.