Skip to content

Return the regular pickups for an store.

GET
/api/stores/{storeId}/regularPickup

Authorizations

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

Parameters

Path Parameters

storeId*
Typestring
Required

Responses

Success.
JSON
[
{
"weekday": 1,
"startTimeOfPickup": "17:20:00",
"maxCountOfSlots": 3,
"description": "Reserved for new Foodsavers"
}
]
Authorization
api_key
Variables
Key
Value
storeId*
cURL
curl -X GET \
'http://localhost/api/stores/{storeId}/regularPickup'

Samples

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