Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PromotionsCreateResponse

Hierarchy

  • PromotionsCreateResponse

Index

Properties

active

active: boolean

Optional activity_duration_after_publishing

activity_duration_after_publishing: string

auto_join

auto_join: boolean

Optional campaign_type

campaign_type: "PROMOTION"

Optional category

category: string

created_at

created_at: string

Optional description

description: string

Optional expiration_date

expiration_date: string

id

id: string

join_once

join_once: boolean

Optional metadata

metadata: Record<string, string>

name

name: string

object

object: "campaign"

promotion

promotion: { data_ref: "tiers"; has_more: boolean; object: "list"; tiers?: PromotionTier[] }

Type declaration

  • data_ref: "tiers"
  • has_more: boolean
  • object: "list"
  • Optional tiers?: PromotionTier[]

protected

protected: boolean

Optional start_date

start_date: string

type

type: "STATIC"

use_voucher_metadata_schema

use_voucher_metadata_schema: boolean

validation_rules_assignments

validation_rules_assignments: { data?: ValidationRulesCreateAssignmentResponse[]; data_ref: "data"; object: "list"; total: number }

Type declaration

Optional validity_day_of_week

validity_day_of_week: number[]

Optional validity_timeframe

validity_timeframe: { duration?: string; interval?: string }

Type declaration

  • Optional duration?: string
  • Optional interval?: string

vouchers_generation_status

vouchers_generation_status: "DONE"