POST api/rewards/update
Updates rewards from a referral program.
Request Information
URI Parameters
Query String:
None.
Body Parameters
A list of required structures containing the details of the reward to update.
Type: Collection of UpdateReward
| Name | Description | Type | Additional information |
|---|---|---|---|
| rewardId |
The unique ID of a reward to update. |
string |
Required |
| amount |
The value of the reward. Optional. |
decimal number |
None. |
| payoutId |
The ID of the payout of which the reward will be based on. |
string |
Required |
| eligibilityDate |
Date on which the recipient would be eligible to recieve the reward. Optional. |
date |
None. |
| description |
A text field to provide additional information about the reward. Optional. |
string |
None. |
Request Formats
application/json, text/json
[
{
"rewardId": "sample string 1",
"amount": 1.0,
"payoutId": "sample string 2",
"eligibilityDate": "2026-01-31T07:16:07.3846142Z",
"description": "sample string 3"
},
{
"rewardId": "sample string 1",
"amount": 1.0,
"payoutId": "sample string 2",
"eligibilityDate": "2026-01-31T07:16:07.3846142Z",
"description": "sample string 3"
}
]
application/xml, text/xml
<ArrayOfupdateReward xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<updateReward>
<payoutId>sample string 2</payoutId>
<eligibilityDate>2026-01-31T07:16:07.3846142+00:00</eligibilityDate>
<description>sample string 3</description>
<rewardId>sample string 1</rewardId>
<amount>1</amount>
</updateReward>
<updateReward>
<payoutId>sample string 2</payoutId>
<eligibilityDate>2026-01-31T07:16:07.3846142+00:00</eligibilityDate>
<description>sample string 3</description>
<rewardId>sample string 1</rewardId>
<amount>1</amount>
</updateReward>
</ArrayOfupdateReward>
Response Information
Resource Description
[HTTP Status 200 - OK]
Type: RewardConfirmation
| Name | Description | Type | Additional information |
|---|---|---|---|
| reward |
Structure containing details about a reward |
Reward |
None. |
| message |
The message provides more information about the results of the client's request. Review this field for error information. |
string |
None. |
Response Formats
application/json, text/json
{
"message": "sample string 1",
"reward": {
"id": "daa2be0c-f9fc-4bed-b2b3-922d5418dbfd",
"payoutId": "60376897-86a8-4d17-9a5b-cb532733a7ad",
"payoutDescription": "sample string 3",
"programId": "e1dce57c-c75f-4c9c-9e26-fed5299ab5f0",
"programName": "sample string 5",
"memberId": "a60b6683-92f2-434f-b624-390d1707040e",
"referralId": "da3ce1f6-acce-408e-96c6-166b9cd2862a",
"type": "sample string 6",
"recipientId": "3168b886-7683-4bb0-9d33-2a5f43c896fd",
"recipientName": "sample string 7",
"recipientEmailAddress": "sample string 8",
"recipientExternalIdentifier": "sample string 9",
"externalIdentifier": "sample string 10",
"status": "sample string 11",
"amount": 12.0,
"createDate": "2026-01-31T07:16:07.3846142Z",
"issueDate": "2026-01-31T07:16:07.3846142Z",
"eligibilityDate": "2026-01-31T07:16:07.3846142Z",
"description": "sample string 15",
"transactionID": "4917dc04-6a49-4f1c-8b64-e09ba0861f12",
"updateDate": "2026-01-31T07:16:07.3846142Z",
"referralDisplayName": "sample string 17",
"currencyCode": "sample string 18",
"source": "sample string 19",
"programRewardRuleId": "2aae6d31-d2d6-4888-a834-bac31814b772",
"paymentType": "sample string 20",
"paymentCode": "sample string 21",
"completeNote": "sample string 22",
"reason": "sample string 23",
"reasonOther": "sample string 24"
}
}
application/xml, text/xml
<rewardConfirmation xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<message>sample string 1</message>
<reward>
<id>daa2be0c-f9fc-4bed-b2b3-922d5418dbfd</id>
<payoutId>60376897-86a8-4d17-9a5b-cb532733a7ad</payoutId>
<payoutDescription>sample string 3</payoutDescription>
<programId>e1dce57c-c75f-4c9c-9e26-fed5299ab5f0</programId>
<programName>sample string 5</programName>
<memberId>a60b6683-92f2-434f-b624-390d1707040e</memberId>
<referralId>da3ce1f6-acce-408e-96c6-166b9cd2862a</referralId>
<type>sample string 6</type>
<recipientId>3168b886-7683-4bb0-9d33-2a5f43c896fd</recipientId>
<recipientName>sample string 7</recipientName>
<recipientEmailAddress>sample string 8</recipientEmailAddress>
<recipientExternalIdentifier>sample string 9</recipientExternalIdentifier>
<externalIdentifier>sample string 10</externalIdentifier>
<status>sample string 11</status>
<amount>12</amount>
<createDate>2026-01-31T07:16:07.3846142+00:00</createDate>
<issueDate>2026-01-31T07:16:07.3846142+00:00</issueDate>
<eligibilityDate>2026-01-31T07:16:07.3846142+00:00</eligibilityDate>
<description>sample string 15</description>
<transactionID>4917dc04-6a49-4f1c-8b64-e09ba0861f12</transactionID>
<updateDate>2026-01-31T07:16:07.3846142+00:00</updateDate>
<referralDisplayName>sample string 17</referralDisplayName>
<currencyCode>sample string 18</currencyCode>
<source>sample string 19</source>
<programRewardRuleId>2aae6d31-d2d6-4888-a834-bac31814b772</programRewardRuleId>
<paymentType>sample string 20</paymentType>
<paymentCode>sample string 21</paymentCode>
<completeNote>sample string 22</completeNote>
<reason>sample string 23</reason>
<reasonOther>sample string 24</reasonOther>
</reward>
</rewardConfirmation>