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-10T03:23:36.6573544Z",
"description": "sample string 3"
},
{
"rewardId": "sample string 1",
"amount": 1.0,
"payoutId": "sample string 2",
"eligibilityDate": "2026-01-10T03:23:36.6573544Z",
"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-10T03:23:36.6573544+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-10T03:23:36.6573544+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": "4895fb22-6fbb-4704-b4e6-37e3dffd9fcb",
"payoutId": "97c9792e-d7c2-48dd-b55c-ac11db853f25",
"payoutDescription": "sample string 3",
"programId": "17513795-4e54-4411-bd0c-51defbc5f7e4",
"programName": "sample string 5",
"memberId": "92e0b10a-f3fb-41b4-96c9-64cb000971e8",
"referralId": "2618f5f5-3f80-4457-8690-66d699a55f12",
"type": "sample string 6",
"recipientId": "e13fa8e5-f2c0-4f57-b259-85bb38fb3fd3",
"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-10T03:23:36.6729642Z",
"issueDate": "2026-01-10T03:23:36.6729642Z",
"eligibilityDate": "2026-01-10T03:23:36.6729642Z",
"description": "sample string 15",
"transactionID": "1257595a-1201-4a9d-9696-a7ef6435900e",
"updateDate": "2026-01-10T03:23:36.6729642Z",
"referralDisplayName": "sample string 17",
"currencyCode": "sample string 18",
"source": "sample string 19",
"programRewardRuleId": "bad9fc3f-1891-4f15-a7c3-ca7655df57f5",
"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>4895fb22-6fbb-4704-b4e6-37e3dffd9fcb</id>
<payoutId>97c9792e-d7c2-48dd-b55c-ac11db853f25</payoutId>
<payoutDescription>sample string 3</payoutDescription>
<programId>17513795-4e54-4411-bd0c-51defbc5f7e4</programId>
<programName>sample string 5</programName>
<memberId>92e0b10a-f3fb-41b4-96c9-64cb000971e8</memberId>
<referralId>2618f5f5-3f80-4457-8690-66d699a55f12</referralId>
<type>sample string 6</type>
<recipientId>e13fa8e5-f2c0-4f57-b259-85bb38fb3fd3</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-10T03:23:36.6729642+00:00</createDate>
<issueDate>2026-01-10T03:23:36.6729642+00:00</issueDate>
<eligibilityDate>2026-01-10T03:23:36.6729642+00:00</eligibilityDate>
<description>sample string 15</description>
<transactionID>1257595a-1201-4a9d-9696-a7ef6435900e</transactionID>
<updateDate>2026-01-10T03:23:36.6729642+00:00</updateDate>
<referralDisplayName>sample string 17</referralDisplayName>
<currencyCode>sample string 18</currencyCode>
<source>sample string 19</source>
<programRewardRuleId>bad9fc3f-1891-4f15-a7c3-ca7655df57f5</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>