younifyd
Menu

Update Reward Assignment

Update Reward Assignment

PUT/v1/rewards/{rewardId}/assignments/{assignmentId}

Use it in a workflow

  1. Add a step and choose the Voucherify connector.
  2. Pick the Update Reward Assignment action (under Rewards).
  3. Fill in the fields below, then reference the result from later steps as {{updateRewardAssignment.response.data}}.

Request

Path parameters

rewardIdstringrequired

A unique reward ID.

assignmentIdstringrequired

A unique reward assignment ID.

Request body

Enter the body as JSON in the step's Body field.

parametersobject

An object that defines the price of the reward in loyalty points.

loyaltyobject2 fields

Stores the points parameter.

json
{
  "parameters": {
    "loyalty": {
      "points": 0,
      "auto_redeem": false
    }
  }
}

Response

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

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

Was this page helpful?
Update Reward Assignment — Voucherify — Documentation