last-mile-service-old
Sign in to your Packetek Pharmacy Account here https://sandbox.packetek.nyc.
enter these credentials
username: pharmacy@bestrx.com
password: bestrx12345
click menu on top right menu, click corporate Information
Generate Keys if not created already
Copy the App key
To use the API key in a request header, specify the key in the HTTP_X_APP_KEY
parameter in the request header.
Use this API to Authenticate the Keys and get default values for specific to Pharmacy Client. This will return the default Pickup Location Address.
Request headers
Authentication Appkey generated from Pharmacy Login
Authentication key for integration provider issued by Packetek
Responses
Body
Http Status Code
Http Status Code description
Indicates the response Payload
This can be used in createdelivery API to Identify the default pickup address for Pharmacy
Name of Pharmacy
Name of contact person in the Pharmacy
Complete Address of Pharmacy Pickup Location
Street Address Line 2 of the pharmacy.
City of the pharmacy.
State of the pharmacy.
Zipcode of the pharmacy.
Map coordinates of the pharmacy.
Map coordinates of the pharmacy.
Confirmation bit for default address
Customized description
Indicates request validity
Body
Use this API to create a delivery order.
You have to pass all the required params at the minimum to create a delivery order. You can add additional parameters as per your preference.
Request headers
Request body
Unique GUID representing the Provider client.
The Unique Order ID generated within the Provider Rx system for Identifying the Order. This should be unique across the system.
Set to true if item is a fridge medication.
Indicates if the recipient’s signature is required at the time of delivery.
Indicates if the recipient’s date of Birth verification is required at the time of delivery.
If greater than zero, copayment will be collected
Set to true if item needs special Handling
- Enter patient delivery date in square brackets if given patient dob will be verify at the time of drop off.
- Enter delivery notes inside colons.
object with details of Pharmacy and pickup Location
Name of Pharmacy
Phone number of the pharmacy.
Complete address of Pharmacy Pickup Location
Street Address Line 2 of the pharmacy.
City of the pharmacy.
State of the pharmacy.
Zip code of the pharmacy.
Object with details about the recipient of the delivery order.
List of customers/patients JSON object
An array of objects containing information about the prescriptions that are in the delivery order.
Some additional value can be provided in consents
valid consent_headers: 1) today_rush 2) controlled_substance 3) physical_document_required
Key name
Description
Key value
Responses
Delivery Created
Body
Response Code
Response Error code
Response Details
Created delivery Id
Response Message
Success status
Missing Headers
Body
Response Code 1 for success
Response Error code
Response Details
Response Message
Success status
Validation Error / Missing Field Data
Body
Response Code
Response Error code
Response Details
Field name
Provided Value
Field Id
Response Message
Success status
Cancel delivery or shipment
Request headers
Request body
Delivery Order Id within Packetek System
Unique Order Id with in Provider System
Cancellation note
Responses
Body
Body
Body
Find nearest locations or landmark to the given address. Searching can be filtered by type.
Request headers
Request body
Address to be validate
City
State
Zip Code
Search location by,
Responses
Body
Body
Body
Body
Authentication key for integration provider issued by Packetek
Authentication Appkey generated from Pharmacy Login