BestRx APIs
Contact Us
  1. Delivery/Shipping Provider API
  • Introduction - BestRx APIs
  • Patient API
    • Overview
    • Error Codes
    • Add Patient
      POST
    • Update Patient
      POST
    • Get Patient
      POST
    • Submit Charge Account Payment
      POST
  • Drug API
    • Overview
    • Error Codes
    • Get Drug Information
      POST
  • Prescription API
    • Overview
    • Error Codes
    • Submit Rx Transfer Request
      POST
    • Return to Stock
      POST
    • Save Rx Signature
      POST
  • Refill API
    • Overview
    • Error Codes
    • GetPatientProfile
      POST
    • Send Refill Request
      POST
  • BestPOS API
    • Overview
    • Error Codes
    • Create POS Transaction
    • Get POS Transaction Status
    • Get Item Details
  • Delivery/Shipping Provider API
    • Overview
    • Error Codes
    • Address Validation
      POST
    • Create Order
      POST
    • Update Order Status
      POST
    • Cancel Order
      POST
  • Realtime Data Feed Specification
    • Overview
    • Patient Update Callback
    • E-Prescription Notification Callback
    • Prescription Update Callback
  1. Delivery/Shipping Provider API

Cancel Order

POST
/Order/CancelOrder
INFO
This endpoint is used to cancel a shipment order.

Request

Header Params

Body Params application/json

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

Example
{
    "data": {
        "bestrx_order_id": 48,
        "bestrx_unique_order_id": 1001,
        "provider_order_id": "132456789",
        "tracking_id": "12345",
        "status": true,
        "status_reason": "Success"
    },
    "request_is_valid": true,
    "messages": []
}
Modified at 2024-06-14 19:17:59
Previous
Update Order Status
Next
Overview