Reward Assignment Object

Reward Assignment

All of:

  1. Reward Assignment Base
  2. Digital or Material Reward - Parameters

Reward Assignment Base

AttributesDescription
id
string

Unique reward assignment ID, assigned by Voucherify.

Example:

rewa_PbIRoMXpwe5QhobW4JKu0VjH

reward_id
string

Associated reward ID.

Example:

rew_C7wS9eHFDN4CIbXI5PpLSkGY

created_at
string

Timestamp representing the date and time when the reward assignment was created. The value is shown in the ISO 8601 format.

Example:

2022-08-11T14:49:22.586Z

updated_at
string, null

Timestamp representing the date and time when the reward assignment was updated. The value is shown in the ISO 8601 format.

Example:

2022-08-11T16:01:34.885Z

object
string

The type of the object represented by the JSON. This object stores information about the reward assignment.

Available values: reward_assignment
related_object_id
string

Related object ID to which the reward was assigned.

Example:

camp_wciTvaOfYmAa3EmIIW3QpXXZ

related_object_type
string

Related object type to which the reward was assigned.

Available values: campaign

Digital or Material Reward - Parameters

AttributesDescription
parameters
object

Defines the cost of the reward.

AttributesDescription
loyalty
object

Defines the equivalent points value of the reward.

AttributesDescription
points
integer

The number of points required to redeem the reward.