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 receive 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-08-06T02:21:00.9018106Z",
"description": "sample string 3"
},
{
"rewardId": "sample string 1",
"amount": 1.0,
"payoutId": "sample string 2",
"eligibilityDate": "2026-08-06T02:21:00.9018106Z",
"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-08-06T02:21:00.9018106+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-08-06T02:21:00.9018106+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": "6af00f76-f9cb-4140-921a-74250b3508f3",
"payoutId": "18bae47c-6bfb-4753-ba2b-c73023d99eac",
"payoutDescription": "sample string 3",
"programId": "690ba264-a897-473d-8387-a44f6460eb11",
"programName": "sample string 5",
"memberId": "b837062a-6021-4f54-96e2-3d7afa7d8e3a",
"referralId": "8e4f15fd-1dda-413d-aff0-fcf95def953c",
"type": "sample string 6",
"recipientId": "b92aaad9-75e4-412e-8347-cca19255bbf7",
"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-08-06T02:21:00.9018106Z",
"issueDate": "2026-08-06T02:21:00.9018106Z",
"eligibilityDate": "2026-08-06T02:21:00.9018106Z",
"description": "sample string 15",
"transactionID": "5080f8ac-478a-4d98-9389-82c937b675a8",
"updateDate": "2026-08-06T02:21:00.9018106Z",
"referralDisplayName": "sample string 17",
"currencyCode": "sample string 18",
"source": "sample string 19",
"programRewardRuleId": "dfad9d88-adf3-452f-930e-56495a79b2fb",
"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>6af00f76-f9cb-4140-921a-74250b3508f3</id>
<payoutId>18bae47c-6bfb-4753-ba2b-c73023d99eac</payoutId>
<payoutDescription>sample string 3</payoutDescription>
<programId>690ba264-a897-473d-8387-a44f6460eb11</programId>
<programName>sample string 5</programName>
<memberId>b837062a-6021-4f54-96e2-3d7afa7d8e3a</memberId>
<referralId>8e4f15fd-1dda-413d-aff0-fcf95def953c</referralId>
<type>sample string 6</type>
<recipientId>b92aaad9-75e4-412e-8347-cca19255bbf7</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-08-06T02:21:00.9018106+00:00</createDate>
<issueDate>2026-08-06T02:21:00.9018106+00:00</issueDate>
<eligibilityDate>2026-08-06T02:21:00.9018106+00:00</eligibilityDate>
<description>sample string 15</description>
<transactionID>5080f8ac-478a-4d98-9389-82c937b675a8</transactionID>
<updateDate>2026-08-06T02:21:00.9018106+00:00</updateDate>
<referralDisplayName>sample string 17</referralDisplayName>
<currencyCode>sample string 18</currencyCode>
<source>sample string 19</source>
<programRewardRuleId>dfad9d88-adf3-452f-930e-56495a79b2fb</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>