Skip to content

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

GET
/api/chains/{chainId}/stores

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

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"
}
]
Authorization
api_key
Variables
Key
Value
chainId*
pageSize*
offset*
cURL
curl -X GET \
'http://localhost/api/chains/{chainId}/stores'

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())