v1
Get a list of fill requests
Returns a list of fill requests and allows for the use of query parameters to scope the results of the request
get/v1/fill_requests
Request
- Base URLhttps://api.truepill.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
created_atstring
limitnumber
nextstring
metadatastring
Response
OK
Example response
{
"results": [
{
"patient_first_name": "Stephen",
"patient_last_name": "Strange",
"metadata": "some metadata",
"patient_payment_type": "cash",
"is_cancellable": true,
"address_to_name": "Stephen Strange",
"address_to_street1": "1700 S Amphlett Blvd",
"address_to_street2": "#221",
"address_to_city": "San Mateo",
"address_to_state": "CA",
"address_to_phone": "1112223333",
"address_to_email": "truepill@truepill.com",
"address_to_zip": "94402",
"patient_survey": {
"medications": "Tafluprost",
"allergies": "Penicillian",
"conditions": "Glaucoma"
},
"medications": [
{
"prescription_token": "e61e324f9018",
"quantity": 30,
"is_cancellable": true
}
],
"otc_products": [
{
"sku": "SKU-123-456",
"quantity": 1,
"is_cancellable": true
}
],
"shipping_method": "standard",
"address_to_country": "US",
"status": "triage",
"url_token": "abc123",
"created_at": "2021-09-14T14:22:37.000Z",
"tracking_url": "https://www.fedex.com/apps/fedextrack/?action=track&cntry_code=us&trackingnumber=12345",
"receipt_items": [
{
"category": "prescription_copay",
"prescription_token": "0154cc7b065",
"amount": 11.43,
"description": "Copay for medication A"
}
],
"current_stripe_payment": {
"cardholder_name": "Bruce Banner",
"last_four_digits": "6789",
"stripe_id": "pi_10f410zj3018s2",
"amount": 12.75,
"description": "Paid by patient"
}
}
],
"next_page_token": "JpdiI6IjdkNWViNWU5MTViNjAzNzAwYjQ4NTI3YjEyZjIzNDFkIiwiY29udGVudCI6IjE2YTcyNmQ4OGI3NTNlYzRjMTE5ZDc5NWIyMmE4MDRkN2UzYzA3YTA1M"
}Changes
No recorded changes to this operation across all 2 revisions of this API.