GET /loyaltyΒΆ

Get a list of loyalty programs:

Query parameters:

Name

Type

Description

pretty

boolean, optional, default: false

readable output formatting

Example request:

GET /loyalty 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: 88
Content-Type: application/json; charset=UTF-8

[
  {
    "id": 1,
    "name": "Points"
  },
  {
    "id": 2,
    "name": "Visits"
  }
]