List all notification subscriptions
Return type
[Notificationquery notificationSubscriptions {
notificationSubscriptions {
type
id
endpoint
}
}{ "data": [ { "type": "HTTPS", "id": "Example String", "endpoint": "Example String" } ] }
Find doctors by searching for searchString across the following fields: Doctor Name, Practice Name, Address, Phone Number, Fax Number, and Webpage URL, or by finding doctors with fields matching the fields specified in match
Arguments
Value to search for across the following fields: Doctor Name, Practice Name, Address, Phone Number, Fax Number, and Webpage URL
Input fields to compare against doctor fields to determine a match
Used to get the next page of search results
Return type
Doctorquery doctors(
$searchString: String
$match: DoctorMatchInput
$cursor: String
) {
doctors(
searchString: $searchString
match: $match
cursor: $cursor
) {
nodes {
id
doctorName
practiceName
address
city
state
zipCode
}
pageInfo {
endCursor
hasNextPage
}
totalCount
}
}{ "searchString": "Example String", "match": { "doctorName": "Example String", "practiceName": "Example String", "phoneNumber": "Example String", "faxNumber": "Example String", "email": "Example String", "address": "Example String", "address2": "Example String", "city": "Example String", "state": "Example String", "zipCode": "Example String", "url": "Example String" }, "cursor": "Example String" }
{ "data": { "nodes": [ { "id": "Example String", "doctorName": "Example String", "practiceName": "Example String", "address": "Example String", "city": "Example String", "state": "Example String", "zipCode": "Example String" } ], "pageInfo": { "endCursor": "Example String", "hasNextPage": true }, "totalCount": 40 } }
List all mapped products and their possible parameter values
Arguments
Filters list for products that come after the specified cursor
Limits list to only those products extracted from the prescription file
Return type
ContactNodes for this page
Details to enable pagination
Total item count for this query or subquery
query products($after: String, $prescription: PrescriptionInput) {
products(after: $after, prescription: $prescription) {
nodes {
productId
manufacturer
brand
sphere
diameter
baseCurve
axis
cylinder
addition
dominance
color
packageSize
}
pageInfo {
endCursor
hasNextPage
}
totalCount
}
}{ "after": "Example String", "prescription": { "fileId": "Example String" } }
{ "data": { "nodes": [ { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "sphere": [ "Example String" ], "diameter": [ "Example String" ], "baseCurve": [ "Example String" ], "axis": [ "Example String" ], "cylinder": [ "Example String" ], "addition": [ "Example String" ], "dominance": [ "Example String" ], "color": [ "Example String" ], "packageSize": [ "Example String" ] } ], "pageInfo": { "endCursor": "Example String", "hasNextPage": true }, "totalCount": 40 } }
Get a product and its possible parameter values
Arguments
The product ID of the product to retrieve
Return type
ContactID that uniquely maps to a manufacturer, brand, and model combination
Manufacturer name
Brand name
Possible sphere values
Possible diameter values
Possible baseCurve values
Possible axis values
Possible cylinder values
Possible addition values
Possible dominance values
Possible color values
Number of lenses per package
query product($productId: String!) {
product(productId: $productId) {
productId
manufacturer
brand
sphere
diameter
baseCurve
axis
cylinder
addition
dominance
color
packageSize
}
}{ "productId": "Example String" }
{ "data": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "sphere": [ "Example String" ], "diameter": [ "Example String" ], "baseCurve": [ "Example String" ], "axis": [ "Example String" ], "cylinder": [ "Example String" ], "addition": [ "Example String" ], "dominance": [ "Example String" ], "color": [ "Example String" ], "packageSize": [ "Example String" ] } }
Use contactsPrescriptionVerificationJob.
Get a contact prescription verification request by its requestId
Arguments
Return type
ContactUnique ID for this request
Current request status
Prescription expiration date if it is available
Comments entered by Doctor and/or Visibly
Last date and time this request was updated
query contactPrescriptionVerificationRequest($requestId: String) {
contactPrescriptionVerificationRequest(requestId: $requestId) {
id
status
expirationDate
comments
updatedAt
}
}{ "requestId": "Example String" }
{ "data": { "id": "Example String", "status": "NEW", "expirationDate": "Example String", "comments": "Example String", "updatedAt": "Example String" } }