- Platform Overview
- Resources and Guides
-
POS Integration
-
Getting Started
-
Core Concepts
-
Integration SDK
-
Certification
-
- Order Ahead
-
Provider Enablement
-
Provider Enablement
-
Endpoints
-
Developer Endpoints
-
-
API Reference
-
Getting Started
-
v15
-
- Access Tokens
- Campaigns
- Credit Cards
- Users
- Credit
- Locations
- Payment Methods
- QR Codes
- Progress Adjustments
- Orders
- Rewards
- Gift Cards
-
-
v14
-
- Credit
- Access Tokens
- Campaigns
- Categories
- Credit Cards
- Interstitials
-
Locations
- List
- List by App
- List by Merchant
- Get Image
- Get Details
- Loyalty
- Orders
- Payment Tokens
- Support Tickets
- Users
-
-
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 |