Provides store identifiers for stores of a region.
GET
/api/region/{regionId}/storesAuthorizations
api_key
Type: API Key (header: X-CSRF-Token)
Parameters
Path Parameters
regionId*
Typestring
RequiredResponses
Success.
JSON
{
"total": 1,
"stores": [
{
"id": 0,
"name": "string",
"region": null,
"location": null,
"street": "string",
"city": "string",
"zipCode": "string",
"cooperationStatus": null,
"createdAt": "string"
}
]
}
Authorization
api_key
Variables
Key
Value
regionId*
cURL
curl -X GET \
'http://localhost/api/region/{regionId}/stores'
Samples
cURL
curl -X GET http://localhost/api/region/{regionId}/stores
JavaScript
fetch("http://localhost/api/region/{regionId}/stores")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/region/{regionId}/stores");
Python
import requests
response = requests.get("http://localhost/api/region/{regionId}/stores")
print(response.json())