Create Fill Request
Generate a Fill Request to fill/refill prescriptions and order Over-the-Counter (OTC) products<br/><br/>The prescriptions and products requested can be shipped to your patient with various shipping methods.<br/><br/>When making a Fill Request, the patient will be referenced with a patient_token being passed into the request body. If you do not have a patient_token for your Patient, one can be created using the Patient Create endpoint.<br/><br/>On a successful submission of the Fill Request, a fill request token will be provided that is used to reference the Fill Request (similar to prescription_token and patient_token).<br/><br/>This attribute is returned under the field request_id.<br/><br/>Many fields for the Fill Request may or may not be required depending on what values are passed in. Please reference the field information carefully.<br/><br/>The metadata field acts as a link between the Fill Request in the Truepill and the customer systems. It will be provided in all subsequent Fill Request notifications as the order is processed.
Request
- Base URLhttps://api.truepill.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Accepted
Example response
{
"request_id": "fill_request_d1f54cea86bb7e030f09",
"timestamp": 1631571795,
"status": "success",
"details": {
"message": "Your fill request has been processed successfully.",
"metadata": "Some metadata"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.