Create & Distribute Voucher Codes

Email Codes - Adding unique codes to email templates

Code API - Request codes to issue to consumers

How to create and download a CSV batch of unique codes

How create unique codes for emails

How to create a ‘click to reveal’ button

How to create embeddable codes

HTML Button - issuing unique codes on web pages

Offers API - Finding out about promotions

Merchant integration

JavaScript Integration Guide

API: Code Query API

API: Code Validation

API: Code Redemption

API Overview

Other

Create A CSV File In UTF-8 Format

Code Redemption Callback

Platform & Service Features

Reporting & Promotional Insights

Upload Your Own Personalised Codes

Create and edit a promotion

Vanity Codes

User Roles & Permissions Management

Mystery Discount

Canvas

Uniqodo Query Language (UQL) & Error Messaging

Content Gates

Code Redemption Callback

Updated by Julius Somoye

Overview

The Uniqodo redemption callback functionality is an extension to the Code Redemption API in that it enables an external endpoint to be called in real time whenever a code is redeemed using the Redemption API. This is particularly useful for notifying your marketing technology partners or any third-party system about a code redemption so that they can update their data in real time.

You do not need to integrate this extension, you simply supply the endpoint details to Uniqodo and your chosen data items will be sent to the endpoint when one of your promo codes is redeemed. You may need to build the endpoint into your backend systems if you do not already have one that can process such data.

Example Endpoint Details

https://myexample.endpoint.com/

POST https://myexample.endpoint.com 

Content-Type: application/x-www-form-urlencoded

Host: myexample.endpoint.com

Content-Length: 73

code=<THE_REDEEMED_CODE>&orderId=<ORDER_ID>

e.g. code=45THD2L34K&orderId=447518457

Using the example above, a call will be made to https://myexample.endpoint.com/ with the parameters code=45THD2L34K&orderId=447518457 when the code 45THD2L34K is redeemed against the order ID 447518457.

Both POST and GET requests are supported. You can ask us to send any data item to the endpoint from the list of available redemption data shown in the table below. You also have the flexibility of deciding the parameter names in the request to your endpoint.

Available Redemption Data

Item

Description

Example

id

A unique ID for the code redemption.

126478

offerId

The ID of the offer/promotion associated with this code.

1256

merchantId

The ID of the merchant redeeming the code.

56

distributorId

The ID of the distributor that issued the code to the shopper.

23

code

The code redeemed via the API call.

XY23T4DF

orderValue

The value of the transaction excluding VAT.

219.99

orderId

The id passed with the order value in the api call

ABC123456

currency

The currency of the transaction.

USD

redeemedAt

The UTC date and time that the code redemption occurred.

2015-05-29T10:39:17+0000

Please note that only those transaction data shared with Uniqodo can be passed back to this endpoint.

Code Distributors

As a publisher, you'll need the merchant's or retailer's permission before we can share their transaction data with you. The data will also be limited to those campaigns you have been authorised to promote.

Please contact clientsuccess@uniqodo.com to find out more.


How did we do?


Powered by HelpDocs (opens in a new tab)