Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 849 Bytes

ValidationRulesAssignmentsCreateRequestBody.md

File metadata and controls

28 lines (16 loc) · 849 Bytes

ValidationRulesAssignmentsCreateRequestBody

Request body schema for POST v1/validation-rules/{validationRuleId}/assignments.

Properties

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.

Enum: RelatedObjectTypeEnum

Name Value
VOUCHER "voucher"
PROMOTION_TIER "promotion_tier"
CAMPAIGN "campaign"
EARNING_RULE "earning_rule"
DISTRIBUTION "distribution"
REWARD_ASSIGNMENT "reward_assignment"