List Locations With Authority

Lists the locations where the calling user holds a given authority (a permission or role slug, e.g. p/r-product or r/manage-locations). Useful for building location pickers scoped to what the caller may actually do.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Permission or role slug to check, e.g. p/r-product. Omitting it returns a 422.

Headers
string
required

The merchant install this request acts on (install.store_id from the app.installed webhook).

Response

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