Returns the list of stores that are part of a given chain.
GET
/api/chains/{chainId}/storesAuthorizations
api_key
Type: API Key (header: X-CSRF-Token)
Parameters
Path Parameters
chainId*
Typestring
RequiredQuery Parameters
pageSize*
Count of chains on page
Typestring
Requiredoffset*
Offset of items
Typestring
RequiredResponses
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())