younifyd
Menu

List Validation Rules Assignments

List Validation Rules' Assignment(s)

GET/v1/validation-rules-assignments

Use it in a workflow

  1. Add a step and choose the Voucherify connector.
  2. Pick the List Validation Rules Assignments action (under Validation Rules).
  3. Fill in the fields below, then reference the result from later steps as {{listValidationRulesAssignments.response.data}}.

Request

Query parameters

related_object_idstring

The resource ID to which the validation rule was assigned; this could be, for example, a resource ID of a voucher, campaign, earning rule, reward assignment, promotion tier, or distribution.

rulestring

Validation rule ID.

pageinteger

Which page of results to return. The lowest value is `1`.

limitinteger

Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.

orderstring

Sorts the results using one of the filtering options: `-created_at`, `created_at`, where the dash `-` preceding a sorting option means sorting in a descending order.

Response

Returns 200 with an object. Read it in later steps with {{listValidationRulesAssignments.response.data.<field>}}.

Need more? See the Voucherify guide for connection setup and behaviour shared by every action.