BestRx APIs
Contact Us
  1. Patient 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
      POST
    • Get POS Transaction Status
      POST
    • Get Item Details
      POST
  • Delivery/Shipping Provider API
    • Overview
    • Error Codes
    • Address Validation
    • Create Order
    • Update Order Status
    • Cancel Order
  • Realtime Data Feed Specification
    • Overview
    • Patient Update Callback
    • E-Prescription Notification Callback
    • Prescription Update Callback
  1. Patient API

Error Codes

HTTP CodeError CodeDescription
200ERROR0000Invalid request.
200ERROR0026Please provide patient unique number for update.
200ERROR0029User does not have rights to access this pharmacy.
200ERROR0030Invalid pharmacy number.
200ERROR0048Duplicate insurance sequence number found.
200ERROR0049Not allow more than one insurance set to primary insurance.
200ERROR0050Invalid insurance sequence number.
200ERROR0057System Error.
400ERROR0001Patient first name is required.
400ERROR0002Patient last name is required.
400ERROR0003Patient date of birth is required.
400ERROR0004Patient gender is required.
400ERROR0005Must required valid marital status or not set.
400ERROR0006Please provide valid patient_id_qualifier or not set.
400ERROR0008Please provide valid residence_code or not set.
400ERROR0011Must required valid dispense_by or not set.
400ERROR0012Insurance BIN number is required.
400ERROR0014Please provide valid ins_relation_code or not set.
400ERROR0018Field ins_cardholder_id is required.
400ERROR0019Please provide valid address. Address, city, state and zipcode required for address.
400ERROR0020Please provide valid patient email address.
400ERROR0021Please provide valid family email address.
400ERROR0022Please provide valid language code.
400ERROR0023Please provide valid insurance email address or not set.
400ERROR0027Please provide pharmcy number or NCPDP number.
400ERROR0031Maximum length exceed for
400ERROR0032Insurance sequence number must between 1 to 9.
400ERROR0034Please provide valid country code.
400ERROR0037Please enter valid home_phone.
400ERROR0038Please enter valid work_phone.
400ERROR0039Please enter valid cell_phone.
400ERROR0040Please enter valid bill_phone.
400ERROR0041Please enter valid ins_phone.
400ERROR0042Please enter valid ins_alternate_phone.
400ERROR0043Please enter valid ins_fax_number.
400ERROR0044Please enter valid fax_number.
400ERROR0045Please provide valid state. It must required 2 char.
400ERROR0046Please provide valid social security number.
400ERROR0047Please provide valid state of billing information. It must required 2 char.
400ERROR0053Please provide valid date in Transaction date field.
400ERROR0054Please provide valid Transaction Amount.
400ERROR0055Please provide valid PatientRecNo.
400ERROR0056Future Datetime is not allowed for this Transaction.
400ERROR0058Patient's DOB can not be future date.
400ERROR0059Remarks can not be more than 50 characters.
400ERROR0062Provided Date of Birth is not valid or null.
400ERROR0063Transaction DateTime should not be older than 15 days.
400ERROR0081Please provide either patient record number or valid first name, last name, date of birth, gender and zip code to fetch patient information.
400ERROR0052Please provide valid Pharmacy NPI number.
401ERROR0003Unauthorized Request!
ERROR0024Error while retrieving response of create patient operation.
ERROR0025Error while send record to pharmacy.
ERROR0035Error while retrieving response of update patient operation.
ERROR0036Error while retrieving response of get patient operation.
ERROR0051Error while retrieving response of submit charge account details.
Modified at 2024-08-02 19:30:28
Previous
Overview
Next
Add Patient