Provides a list of all foodsaver related stores and the next picks status.
GET
/api/user/{userId}/storesAuthorizations
api_key
Type: API Key (header: X-CSRF-Token)
Parameters
Path Parameters
userId*
Typestring
RequiredQuery 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
userId*
activeStores
cURL
curl -X GET \
'http://localhost/api/user/{userId}/stores'
Samples
cURL
curl -X GET http://localhost/api/user/{userId}/stores
JavaScript
fetch("http://localhost/api/user/{userId}/stores")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/user/{userId}/stores");
Python
import requests
response = requests.get("http://localhost/api/user/{userId}/stores")
print(response.json())