Add / Update Customer

To add patients with mobile number, name and address.

Add Patient

POST https://api.evitalrx.in/v1/b2b/add_update_pharmacy

Request Body

NameTypeDescription

pharmacy_name*

String

Name of the pharmacy

mobile*

Number

Mobile number of pharmacy

address*

String

Address of the pharmacy

apikey*

String

Authentication token

id

Number

Unique ID of address, If provided, it will update the address associated with this ID.

If this ID is not provided, then new address will be inserted.

pharmacist_name

String

Name of the Pharmacist

gstn_number

String

The GSTN Number of the pharmacy

pan_no

String

The PAN Number of the pharmacy

discount_percentage

Number

Default discount percentage for the pharmacy

license_number_20

String

Drug License of pharmacy

license_number_21

String

Wholesale License of pharmacy

address_line2

String

Street or Landmark of the pharmacy address

email

String

Email of the pharmacy

area

String

The area where the pharmacy is located

phone

String

The phone number of the pharmacy

entity_type

String

The type of entity; must be one of 'chemist', 'doctor', or 'b2b_customer' defaults to 'chemist'

{
    "status_code": "1",
    "status_message": "New Pharmacy Added Successfully",
    "datetime": "2024-10-01 15:56:54",
    "data": {
        "chemist_id": "kg/N9s0A0Y03GXuiuo/Iqw==",
        "pharmacy_name": "Sharma Medical Store",
        "pharmacist_name": "Sdsadasdsd",
        "mobile": "1414141414",
        "gstn_number": "10AKEPK5905A1ZZ",
        "pan_no": "4445454588",
        "area": "Motera",
        "city": ""
    }
}

Last updated