The reward assignment object

This entity describes a reward assignment object.

AttributeDescriptionExample
id stringrewa_0iVnHW1n3Ofk6s7qT4KR0ibM
object stringType of the object represented by JSON. The value is reward_assignment.
related_object_id stringcamp_rzHNLIrn0vbzx8y1Y5OXEGhe
related_object_type stringcampaign
created_at string, ISO 8601 date format2016-11-16T14:14:31Z
parametersAn object that defines what is the cost of the reward for assigned object."parameters": { "loyalty": { "points": 15 } }
{
  "id": "rewa_Cr9h3PHoQQn4kA1Oe6ZrrOY9",
  "reward_id": "rew_eSi4eYJk7o3tOycvweicR2z7",
  "related_object_id": "camp_Zgj5HFIPcb70SWJ4IjBNta2F",
  "related_object_type": "campaign",
  "parameters": {
    "loyalty": {
      "points": 15
    }
  },
  "created_at": "2019-04-15T10:59:08.155Z",
  "updated_at": null,
  "object": "reward_assignment"
}