List locations for a merchant

Returns one page of locations in the platform's standard list envelope — { locations, hasMore, lastId } — never a bare array. Page forward by passing the previous response's lastId. A merchant with no locations returns an empty envelope with HTTP 200, not a 404.

Path Params
string
required
Query Params
string

The lastId from the previous page. Omit for the first page.

number

Locations per page, 1–50. Defaults to 10.

Responses

401

Unauthorized (test-mode mismatch).

403

Forbidden (platform mismatch).

404

Merchant not found, or lastId is not a location on this merchant.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json