Skip to content

Returns the list of stores that are part of a given chain.

GET
/api/chains/{chainId}/stores

Authorizations

Parameters

Path Parameters

chainId*
Typestring
Required

Query Parameters

pageSize*

Count of chains on page

Typestring
Required
offset*

Offset of items

Typestring
Required

Responses

Success.
JSON
[
{
"id": 0,
"name": "string"
}
]

Samples

cURL
curl -X GET http://localhost/api/chains/{chainId}/stores
JavaScript
fetch("http://localhost/api/chains/{chainId}/stores")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/chains/{chainId}/stores");
Python
import requests
response = requests.get("http://localhost/api/chains/{chainId}/stores")
print(response.json())