DiscountCode

📘

Required roles

  • DiscountCode-*

Learn more about Discount Codes in our Knowledge Base.

Properties

Property

Type

Required

Information

BusinessId

int

Yes

BusinessName

string

No

Read-only

BusinessCurrencyCode

string

No

Read-only

Code

string

Yes

Description

string

Yes

Active

boolean

No

PublishFrom

timestamp

No

PublishTo

timestamp

No

DiscountPercentage

float

No

DiscountAmount

float

No

ReferralDiscount

boolean

No

DiscountPricePlans

boolean

No

Tariffs

array_int

No

DiscountBookings

boolean

No

ResourceTypes

array_int

No

DiscountProducts

boolean

No

Products

array_int

No

DiscountEvents

boolean

No

EventCategories

array_int

No

MaxUsesPerUser

int

No

MaxUses

int

No

OnlyForContacts

boolean

No

OnlyForMembers

boolean

No

ValidFrom

timestamp

No

ValidTo

timestamp

No

ExpirationType

enum

No

Valid values

ExpiresIn

int

No

Id

int

Yes

Read-only

UpdatedOn

timestamp

No

Read-only

CreatedOn

timestamp

No

Read-only

UniqueId

string

No

Read-only

SystemId

string

No

Related records

Property

Record type

BusinessId

Business