Creates a new discount voucher in eTermin. Use this to set up promotional codes that customers can apply during booking. Supports both percentage and fixed amount discounts.
codeRequiredstringUnique voucher code that customers will use. Must be unique within your eTermin account.
typeRequiredstringDiscount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.
discountRequirednumberDiscount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).
valid_toRequiredstringEnd date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.
valid_fromRequiredstringStart date from which the voucher becomes valid. Format: YYYY-MM-DD.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.