GET /storesΒΆ

This request will return a list of all stores.

Query parameters:

Name

Type

Description

pretty

boolean, optional, default: false

readable output formatting

Example request:

This request will fetch all stores.

GET /stores HTTP/1.1
Host: api.ereceipts.co.uk
Accept: application/json

Example response:

HTTP/1.1 200 OK
Content-Length: 614
Content-Type: application/json; charset=UTF-8

[
  {
    "address": [
      "99 Foo St"
    ],
    "city": "London",
    "country": "GBR",
    "id": 1,
    "locale": "en_GB",
    "name": "Test Store",
    "phone": "+440000000000",
    "postcode": "W124AF",
    "properties": {
      "type": "outlet"
    },
    "reference": 1001,
    "timezone": "Europe/London"
  },
  {
    "address": [
      "98 Foo St"
    ],
    "city": "London",
    "country": "GBR",
    "id": 2,
    "locale": "en_GB",
    "name": "Test Store Two",
    "phone": "+440000000001",
    "postcode": "W124AH",
    "properties": {},
    "reference": 1002,
    "timezone": "Europe/London"
  }
]