Skip to content

Provides store information, contacts and options for a store id.

GET
/api/stores/{storeId}/information

Depending on the access permission some information are not provided.

Authorizations

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

Parameters

Path Parameters

storeId*
Typestring
Required

Responses

Success.
JSON
{
"id": 0,
"name": "string",
"region": null,
"location": null,
"address": null,
"publicInfo": "string",
"publicTime": null,
"category": null,
"chain": null,
"cooperationStatus": null,
"cooperationStart": "string",
"description": "string",
"contact": null,
"calendarInterval": 0,
"weight": 0,
"effort": null,
"publicity": null,
"showsSticker": null,
"groceries": [
0
],
"teamStatus": null,
"isHygieneRequired": true,
"options": null,
"createdAt": "string",
"updatedAt": "string"
}
Authorization
api_key
Variables
Key
Value
storeId*
cURL
curl -X GET \
'http://localhost/api/stores/{storeId}/information'

Samples

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