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