Location

Get all locations with details for a specific partner.

Get all locations with details for a specific partner.

get/locations

Request

  • Base URL
    http://localhost
  • URL
    http://localhost/locations
  • Auth
    OAuth 2
    Authorization code: https://localhost/oauth2/authorize
    Token URL: https://localhost/oauth2/authorize

Query parameters

pageinteger

Current page default is 0

pageSizeinteger

Number of items included in a page

Response

Successful response

Example response

{
  "meta": {
    "totalItems": 1,
    "totalPages": 1,
    "page": 1,
    "size": 1
  },
  "locations": [
    {
      "id": "5fd4785d02eb2a7afb2aca0b",
      "name": "Nathalie Bistro",
      "description": "Nathalie Bistro",
      "currencyCode": "AED",
      "taxAmount": {
        "taxCode": "VAT"
      },
      "contact": {
        "name": "Magued",
        "email": "magued@abc.com",
        "telphone": {
          "number": "987654321"
        },
        "address": "48 Al Jazeira St - DeiraRiggat Al Buteen - Dubai - United Arab Emirates"
      },
      "coordinates": {
        "longitude": "54.3773",
        "latitude": "24.4539"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.