Loyalty Points API

Transfer Loyalty Points

POST /v1.0/points/transfer.json?identifier=:identifier&points=:points&txid=:txid&channel_id=:channel_id

Parameters

Name Description
identifier Unique customer loyalty number
points Number of points to transfer
txid Unique transaction id for the transfer for logging and to protect duplicates
channel_id Channel making the request (Optional)

Request

Headers

Accept: application/json
Content-Type: application/json
X-Auth-Token: c9c106120c320ca1a1ee0325a648b3328d4d0592af28c7c127f09c6b2bffe2df

Route

POST /v1.0/points/transfer.json?identifier=foo@bar.com&points=1000&txid=7ef03016ddf9029910346643d9031812&channel_id=55

Query Parameters

identifier: foo@bar.com
points: 1000
txid: 7ef03016ddf9029910346643d9031812
channel_id: 55

Response

Headers

Cache-Control: max-age=0, private, must-revalidate
Content-Length: 96
Content-Type: application/json; charset=utf-8
Etag: "e6e9e06e1a078876e9e268c9adefd8cf"
Server: thin 1.5.1 codename Straight Razor
X-Request-Id: 75de2a9cb83450900127ff12f7a532e4
X-Runtime: 0.043596
X-Ua-Compatible: IE=Edge,chrome=1
Date: Tue, 16 Feb 2016 13:37:03 GMT

Status

200 OK

Body