Reward Assignment Object

Data model description

AttributesDescriptionExample
id

Unique reward assignment ID, assigned by Voucherify.

rewa_PbIRoMXpwe5QhobW4JKu0VjH

reward_id

Associated reward ID.

rew_C7wS9eHFDN4CIbXI5PpLSkGY

related_object_id

Related object ID to which the reward was assigned.

camp_wciTvaOfYmAa3EmIIW3QpXXZ

related_object_type

Related object type to which the reward was assigned.

campaign

parameters

Defines the cost of the reward.

AttributesDescriptionExample
loyalty

Defines the equivalent points value of the reward.

AttributesDescriptionExample
points

The number of points required to redeem the reward.

created_at

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

2022-08-11T14:49:22.586Z

updated_at

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

2022-08-11T16:01:34.885Z

object

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

Language
URL
Click Try It! to start a request and see the response here!