Retrieve a paginated list of active locations for the account. Supports filtering by name and storeId. Use storeId filter to find a location by partner's external identifier.
Security
PartnerApiKey and PartnerOAuth
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/location
curl -i -X GET \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location?name=Main%20Street&storeId=STORE123&sortBy=NAME&sortDir=ASC&cursor=string&limit=20&active=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-api-key: YOUR_API_KEY_HERE'Response
{ "locations": [ { … } ], "nextCursor": "eyJ2Ijp7Im5hbWUiOiJNYWluIFN0cmVldCJ9LCJpZCI6MTIzNDV9" }