Menu
Create Validation Rule Assignment
Create Validation Rules Assignments
POST
/v1/validation-rules/{validationRuleId}/assignmentsUse it in a workflow
- Add a step and choose the Voucherify connector.
- Pick the Create Validation Rule Assignment action (under Validation Rules).
- Fill in the fields below, then reference the result from later steps as
{{createValidationRuleAssignment.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"related_object_type": "voucher",
"related_object_id": "string"
}
Response
Returns 200 with an object. Read it in later steps with {{createValidationRuleAssignment.response.data.<field>}}.
Need more? See the Voucherify guide for connection setup and behaviour shared by every action.
Was this page helpful?