Name Type Description Additional information
SiteID integer

Required

VoucherExpires boolean

True if the voucher expires, vouchers that don't expire have the same solddate and expirydate

Required

ExpiryDate date

If the voucher expires and the expiry date is left empty then the default voucher expiry date is used (from system settings), otherwise a custom expiry date

SerialNumber string

If left blank then a guid will be auto generated, if inserting custom serial numbers will throw errors if serial number already exists

Value decimal number

Voucher Value e.g. 5.50 -> £5.50

Required

Notes string

Optional Notes