Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 2.63 KB

LoyaltiesEarningRulesUpdateRequestBody.md

File metadata and controls

18 lines (15 loc) · 2.63 KB

# LoyaltiesEarningRulesUpdateRequestBody

Properties

Name Type Description Notes
validationRuleId string A unique validation rule identifier assigned by the Voucherify API. The validation rule is verified before points are added to the balance. [optional]
loyalty \OpenAPI\Client\Model\LoyaltiesEarningRulesUpdateRequestBodyLoyalty [optional]
source \OpenAPI\Client\Model\LoyaltiesEarningRulesUpdateRequestBodySource [optional]
active bool A flag to toggle the earning rule on or off. You can disable an earning rule even though it's within the active period defined by the `start_date` and `expiration_date` of the campaign or the earning rule's own `start_date` and `expiration_date`. - `true` indicates an active earning rule - `false` indicates an inactive earning rule [optional]
startDate \DateTime Start date defines when the earning rule starts to be active. Activation timestamp is presented in the ISO 8601 format. Earning rule is inactive before this date. If you don't define the start date for an earning rule, it'll inherit the campaign start date by default. [optional]
expirationDate \DateTime Expiration date defines when the earning rule expires. Expiration timestamp is presented in the ISO 8601 format. Earning rule is inactive after this date.If you don't define the expiration date for an earning rule, it'll inherit the campaign expiration date by default. [optional]
validityTimeframe \OpenAPI\Client\Model\ValidityTimeframe [optional]
validityDayOfWeek int[] Integer array corresponding to the particular days of the week in which the voucher is valid. - `0` Sunday - `1` Monday - `2` Tuesday - `3` Wednesday - `4` Thursday - `5` Friday - `6` Saturday [optional]
validityHours \OpenAPI\Client\Model\ValidityHours [optional]
metadata object The metadata object stores all custom attributes assigned to the earning rule. A set of key/value pairs that you can attach to an earning rule object. It can be useful for storing additional information about the earning rule in a structured format. [optional]

[Back to Model list] [Back to API list] [Back to README]