Skip to content

Lists all pickups into which a user is signed in on a specific day, including unconfirmed ones.

GET
/api/foodsaver/{fsId}/pickups/{onDate}

This only works for future pickups.

Authorizations

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

Parameters

Path Parameters

fsId*
Typestring
Required
onDate*
Typestring
Required

Responses

Authorization
api_key
Variables
Key
Value
fsId*
onDate*
cURL
curl -X GET \
'http://localhost/api/foodsaver/{fsId}/pickups/{onDate}'

Samples

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