Locations .: List by Merchant

API Reference / v14

List a Merchant’s Locations

This endpoint returns a list of a merchant’s locations. It includes only the information needed by POS partners. It is not paginated.

Authorization Required – Merchant Token in Header

Authorization: token 123456-75489120749...

Request

GET /v14/merchants/:id/locations

cURL Example

curl -X GET -H Accept:application/json -H Content-Type:application/json -H 'Authorization:token 123456-75489120749...' https://api.thelevelup.com/v14/merchants/1234/locations

Response

HTTP/1.1 200 OK

[
  {
    "location": {
      "id": 123,
      "merchant_tip_preference": "expected",
      "name": "Congress Street LevelUp Cafe"
    }
  },
  ...
]

Response Parameters

Param Type Description
id Integer The location_id of the location
merchant_tip_preference String The merchant’s tip preference. Options are ‘unwanted’, 'expected’ and 'no preference’
name String The location name