younifyd
Menu

List Validation Rule Assignments

List Validation Rule Assignments

GET/v1/validation-rules/{validationRuleId}/assignments

Use it in a workflow

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

Request

Path parameters

validationRuleIdstringrequired

Unique validation rule ID.

Query parameters

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.

pageinteger

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

orderstring

This is a property that controls the sorting direction of the results. Sort the results using one of the filtering options, where the dash `-` preceding a sorting option means sorting in a descending order.

One ofcreated_at-created_at

Response

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

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