GET /loyalty/{program_id}/identifiers/{identifier}ΒΆ
Get a single loyalty identifier and its value.
Path parameters:
Name |
Type |
Description |
---|---|---|
|
integer, required |
the loyalty program identifier |
|
string, required |
the loyalty identifier |
Query parameters:
Name |
Type |
Description |
---|---|---|
|
boolean, optional, default: false |
readable output formatting |
Example request:
GET /loyalty/1/identifiers/990000000001 HTTP/1.1
Host: api.ereceipts.co.uk
Accept: application/json
Example response:
See Loyalty Identifier Object for a description of the format.
HTTP/1.1 200 OK
Content-Length: 51
Content-Type: application/json; charset=UTF-8
{
"identifier": "990000000001",
"value": 50.0
}