Skip to content

DiscountReceipt

Defined in: sdks/hepsiburada/src/types/promotion.ts:118

Receipt returned by promotions.createTlDiscount() / createPercentDiscount() / createXyDiscount() — the spec’s CreateSelfCampaignResponse: { success, data: { campaignId } }. cancelDiscount() only gets { success } back and therefore resolves to a plain MutationResult.

optional campaignId?: number

Defined in: sdks/hepsiburada/src/types/promotion.ts:122

Id of the campaign that was created (data.campaignId on the wire).


raw: unknown

Defined in: sdks/hepsiburada/src/types/promotion.ts:124

Untouched parsed response body (envelope included).


optional success?: boolean

Defined in: sdks/hepsiburada/src/types/promotion.ts:120

Whether Hepsiburada accepted the campaign.

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.