The reward assignment object

This entity describes a reward assignment object.

Attribute

Description

Example

id string

rewa_0iVnHW1n3Ofk6s7qT4KR0ibM

object string

Type of the object represented by JSON. The value is reward_assignment.

related_object_id string

camp_rzHNLIrn0vbzx8y1Y5OXEGhe

related_object_type string

campaign

created_at string, ISO 8601 date format

2016-11-16T14:14:31Z

parameters

An 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"
}