List the form's merchant's locations

Form-scoped equivalent of GET /v1/merchants/:merchantId/locations. Same list envelope — { locations, hasMore, lastId } — and the same location representation, so ids are available to the runtime before the next step renders. A merchant with no locations returns an empty envelope with HTTP 200.

Path Params
string
required

The boarding form id.

Query Params
string

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

number

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

Responses

400

pageSize out of range, or the form has expired ({ expirationUrl }).

404

Form or 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