Skip to content

GET /api/user/current/stores

GET
/api/user/current/stores

Authorizations

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

Parameters

Query Parameters

activeStores

filter unactive stores (e.g. store that do not cooperate)?

Typeinteger
Enum0, 1

Responses

Success.
JSON
[
{
"id": 1,
"name": "Govinda Natur GmbH",
"isManaging": "false",
"membershipStatus": null,
"pickupStatus": null
}
]
Authorization
api_key
Variables
Key
Value
activeStores
cURL
curl -X GET \
'http://localhost/api/user/current/stores'

Samples

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