Points Of Sale

Get Items

GET https://ringo.eco/wp-json/ringo/v1/points-of-sale

Parameters

ParameterDescription
citiesThe City id. Will accept an array of cities soon.
countriesThe Country id. Will accept an array of cities soon.

You should always specify one of the following parameters: cities or countries.

Response

[
  {
    "id": 1,
    "couriers": [],
    "title": "Place Name",
    "address": "The Address",
    "image":{
      "element": "HTML <img> element with srcset.",
      "link": "Link to full image"
    },
    "position":{
      "lat": 0,
      "lng": 0
    },
    "created": {
      "timezone": "",
      "local": "",
      "gmt": ""
    },
  },
  { ... },
  ...
]

Powered by Doctave