Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.41 KB

LoyaltiesRewardsGetResponseBody.md

File metadata and controls

37 lines (21 loc) · 1.41 KB

LoyaltiesRewardsGetResponseBody

Response body schema for GET /loyalties/{campaignId}/rewards/{assignmentId}

Properties

Name Type Description Notes
id String Unique reward assignment ID, assigned by Voucherify.
rewardId String Associated reward ID.
createdAt OffsetDateTime Timestamp representing the date and time when the reward assignment was created. The value is shown in the ISO 8601 format.
updatedAt OffsetDateTime Timestamp representing the date and time when the reward assignment was updated. The value is shown in the ISO 8601 format. [optional]
_object ObjectEnum The type of the object represented by the JSON. This object stores information about the reward assignment.
relatedObjectId String Related object ID to which the reward was assigned.
relatedObjectType RelatedObjectTypeEnum Related object type to which the reward was assigned.
parameters RewardAssignmentParametersParameters [optional]

Enum: ObjectEnum

Name Value
REWARD_ASSIGNMENT "reward_assignment"

Enum: RelatedObjectTypeEnum

Name Value
CAMPAIGN "campaign"