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

Address Validation

POST
/Address/ValidateAddress
INFO
This endpoint is used to validate a address and return a list of suggested address.

Request

Header Params

Body Params application/json

Example
{
    "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"
    },
    "address_to_validate": {
        "address_line_1": "908 ATLANTIC AVE APT A APT A",
        "address_line_2": "",
        "city": "HOFFMAN ESTATES",
        "state": "IL",
        "zip_code": "60169"
    }
}

Responses

🟢200OK
application/json
Body

Example
{
    "data": {
        "suggested_address": [
            {
                "address_line_1": "908 ATLANTIC AVE APT A APT A",
                "address_line_2": "",
                "city": "HOFFMAN ESTATES",
                "state": "IL",
                "zip_code": "60169"
            }
        ]
    },
    "messages": [],
    "request_is_valid": "true"
}
Modified at 2024-06-14 19:17:48
Previous
Error Codes
Next
Create Order