- Introduction - BestRx APIs
- Patient API
- Drug API
- Prescription API
- Refill API
- BestPOS API
- Delivery/Shipping Provider API
- Realtime Data Feed Specification
Cancel Order
POST
/Order/CancelOrder
INFO
Request
Header Params
Content-Type
string
optional
Example:
application/json
Body Params application/json
bestrx_order_id
integer
required
Example:
106
provider_order_id
string | null
optional
Example:
123456789
tracking_id
string | null
optional
Example:
12345
store
object
optional
bestrx_pharmacy_id
string
required
Example:
ef0a4740-0be9-44f7-b89d-9e66eeba0b9a
delivery_provider_acct_no
string
required
Example:
98989898
name
string
required
Example:
BestRx Pharmacy
address
object
optional
phone
string
required
Example:
6308939210
fax
string
required
Example:
6303393171
email
string
required
Example:
pharmacy@bestrx.com
ncpdp
string
required
Example:
1234567
npi
string
required
Example:
1234567890
dea
string
required
Example:
BR1234563
notes
string
optional
Example:
Shipment Cancelled
bestrx_unique_order_id
integer
required
Example:
1001
Example
{
"bestrx_order_id": 106,
"bestrx_unique_order_id": 1001,
"provider_order_id": "123456789",
"tracking_id": "12345",
"store": {
"bestrx_pharmacy_id": "ef0a4740-0be9-44f7-b89d-9e66eeba0b9a",
"delivery_provider_acct_no": "98989898",
"name": "BestRx Pharmacy",
"address": {
"address_line_1": "2625 Butterfield Rd",
"address_line_2": "Suite 200S",
"city": "Oak Brook",
"state": "IL",
"zip_code": "60523"
},
"phone": "6308939210",
"fax": "6303393171",
"email": "pharmacy@bestrx.com",
"ncpdp": "1234567",
"npi": "1234567890",
"dea": "BR1234563"
},
"notes": "Shipment Cancelled"
}
Responses
🟢200OK
application/json
Body
data
object
optional
bestrx_order_id
integer
required
Example:
48
provider_order_id
string
optional
Example:
132456789
tracking_id
string
optional
Example:
12345
status
boolean
optional
Example:
true
status_reason
string
optional
Example:
Success
bestrx_unique_order_id
integer
required
Example:
1001
request_is_valid
boolean