/users/{id}/erx/pharmaciesSave pharmacy
Base URL https://api.vseepreview.com/api_v3
Authentication: User Token — Requires a user access token from login or SSO.
Save patient's currently chosen pharmacy
Save the patient's currently chosen pharmacy.
Note: Set type to mdtoolbox when saving pharmacy data from MDToolbox search results. Include the extra object with the unmodified data returned by the pharmacy search API (contains NCPDPID, StoreName, etc.).
| Name | In | Type | Required | Enum | Default | Description |
|---|---|---|---|---|---|---|
X-ApiToken | header | string | yes | API token (e.g. your_api_token) | ||
X-AccountCode | header | string | yes | Account code (e.g. vclinic) | ||
id | path | string | yes | User ID or dash (-) for current user (e.g. 575) |
Content type: application/json
| Field | Type | Required | Enum | Description |
|---|---|---|---|---|
name | string | yes | ||
code | string | yes | ||
address | string | no | ||
address_more | string | no | ||
city | string | no | ||
country | string | no | ||
state | string | no | ||
zip | string | no | ||
phone | string | no | ||
fax | string | no | ||
lat | number | no | ||
long | number | no | ||
distance | number | no | ||
type | string | no | ||
extra | object | no |
Example:
{
"name": "A247PC00-Anesthesia 24/7, PC",
"address": "1200 Freas Avenue",
"code": "1001103",
"city": "Berwick",
"state": "PA",
"zip": "18063",
"phone": "5707525572",
"fax": "6153972423",
"type": "mdtoolbox",
"extra": {
"NCPDPID": "1001103",
"StoreName": "A247PC00-Anesthesia 24/7, PC"
}
}
200 — Successful saveSuccess
{
"data": true
}
Machine-readable: OpenAPI JSON