Menu
Get Earning Rule
Get Earning Rule
GET
/v1/loyalties/{campaignId}/earning-rules/{earningRuleId}Use it in a workflow
- Add a step and choose the Voucherify connector.
- Pick the Get Earning Rule action (under Loyalties).
- Fill in the fields below, then reference the result from later steps as
{{getEarningRule.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getEarningRule.response.data.<field>}}.
Need more? See the Voucherify guide for connection setup and behaviour shared by every action.
Was this page helpful?