Home → API Documentation → App API Calls (Contact Support Team for Setup) → api/InsertMemberOfferRedemption
13.4. api/InsertMemberOfferRedemption
This API call records the redemption of a member offer by an existing contact. The contact uid identifies both the contact and their company.
Parameters To Submit
Parameters can be submitted as blank values.
| Parameter | Parameter Help | Parameter Data Type |
| uid | The uid of the contact redeeming the offer. | String – Max 50 chars |
| oid | The oid of the offer being redeemed. | String – Max 50 chars |
| OfferRedemptionDateTime | The date and time the offer was redeemed. | DateTime - Example "2026-11-18T14:30:00.000" |
| OfferRedemptionReference | Your own reference number linked to the redemption. | String – Max 50 chars |
| OfferSpend | How much was spent using the offer redemption. | Decimal - Up to two decimal places |
| OfferDiscount | How much was discounted/saved by using the offer redemption. | Decimal - Up to two decimal places |
| Source | The source of the redemption, such as website, app (with name of app). | String – Max 150 chars |
| API Key |
Return Response
On success, ResponseType is "JSONString". Parse ResponseMessage to obtain OfferRedemptionGUID, the GUID of the newly recorded redemption.
{
"ResponseCode": "200",
"ResponseType": "JSONString",
"ResponseMessage": "{\"OfferRedemptionGUID\":\"OFFER_REDEMPTION_GUID\"}"
}
The example shows the envelope after decoding the outer JSON string. If the call fails, ResponseCode is "500", ResponseType is "Error" and ResponseMessage explains the failure. Check the envelope even when the HTTP status is 200 OK.
