Request body schema for POST v1/validation-rules/{validationRuleId}/assignments
.
Name | Type | Description |
---|---|---|
relatedObjectType | RelatedObjectTypeEnum | Defines the related object, e.g. `voucher`. |
relatedObjectId | String | Unique related object ID assigned by Voucherify, e.g. `v_lfZi4rcEGe0sN9gmnj40bzwK2FH6QUno` for a voucher. |
Name | Value |
---|---|
VOUCHER | "voucher" |
PROMOTION_TIER | "promotion_tier" |
CAMPAIGN | "campaign" |
EARNING_RULE | "earning_rule" |
DISTRIBUTION | "distribution" |
REWARD_ASSIGNMENT | "reward_assignment" |