v1

Get Fill Request by token

Once a Fill Request has been submitted, you can look up the request payload that was submitted at any time for reference with an API request<br/><br/>This endpoint requires a request_token. You will receive a request_token upon a successful Fill Request API submission response in the request_id field.

get/v1/fill_request/{url_token}

Request

Path parameters

url_tokenstring required

URL token

Response

Accepted

patient_first_namestring
patient_last_namestring
metadatastring
patient_payment_typestring
is_cancellableboolean

Indicates whether the entire fill request can be cancelled based on its current status. Generally true when order is in Triage or PV1 status, false when in Fill, PV2, Packing, Complete, or Cancelled status.

address_to_namestring
address_to_street1string
address_to_street2string
address_to_citystring
address_to_statestring
address_to_phonestring
address_to_emailstring
address_to_zipstring
shipping_methodstring
address_to_companystring
address_to_countrystring
statusstring
url_tokenstring
created_atstring
tracking_urlstring

Example response

{
  "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"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.