Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

ContactsProduct

productId
String

ID that uniquely maps to a manufacturer, brand, and model combination

manufacturer
String

Manufacturer name

brand
String

Brand name

schedule
String

Schedule name

type
String

Type name (Toric, Multi-Focal, etc.)

diameter
String

The width of the contact lens from edge to edge measured by millimeters

baseCurve
String

Indication of the curvature of the inside of the lens measured in millimeters

sphere
String

The amount of lens power measured in diopters (D), minus sign (–) for nearsighted, plus sign (+) for farsighted

axis
String

The lens meridian with no cylinder power, indicated by a value between 1 and 180 degrees

cylinder
String

The amount of lens power for astigmatism measured in diopters (D), minus sign (–) for nearsighted, plus sign (+) for farsighted

addition
String

The additional magnifying power that applies to the bottom portion of multifocal lenses to fix presbyopia

dominance
String

Indication of dominant or non-dominant eye

color
String

Color of the lens

packageSize
Int

Number of lenses per package

quantity
Int

Number of packages

Sample
{ "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 }

ContactsProducts

Sample
{ "right": { "__typename": "ContactsProduct" }, "left": { "__typename": "ContactsProduct" } }

ContactsPrescription

fileId
String

File ID from uploadFile (conditionally required if doctor and patient are not set)

prescriptionId
String

Prescription ID

issueDate
String

Prescription issue date, if available

expirationDate
String

Prescription expiration date, if available

doctor

Doctor details (conditionally required if prescription file ID is not set)

patient

Patient details (conditionally required if prescription file ID is not set)

Details about the prescribed contacts

comments
String

Doctor-entered comments

Sample
{ "fileId": "Example String", "prescriptionId": "Example String", "issueDate": "Example String", "expirationDate": "Example String", "doctor": { "__typename": "Doctor" }, "patient": { "__typename": "Patient" }, "products": { "__typename": "ContactsProducts" }, "comments": "Example String" }

Contacts

Sample
{ "products": [ { "__typename": "ContactsProducts" } ], "prescription": { "__typename": "ContactsPrescription" } }

ContactsSuggestionJobOptions

jobId
String
Sample
{ "jobId": "Example String" }

ContactsPrescriptionVerificationJobOptions

jobId
String
Sample
{ "jobId": "Example String" }

ContactsPrescriptionIssuanceJobOptions

jobId
String
sendText
Boolean
sendEmail
Boolean
buyLink
Boolean
Sample
{ "jobId": "Example String", "sendText": true, "sendEmail": true, "buyLink": true }

ContactsFulfillmentJobOptions

jobId
String
Sample
{ "jobId": "Example String" }

ContactsJobOptions

contactsPrescriptionVerification
contactsPrescriptionIssuance
wait
Int

The number of seconds between 0 and 20 to wait for completion; Default: 0 (no wait)

Sample
{ "contactsSuggestion": { "__typename": "ContactsSuggestionJobOptions" }, "contactsPrescriptionVerification": { "__typename": "ContactsPrescriptionVerificationJobOptions" }, "contactsPrescriptionIssuance": { "__typename": "ContactsPrescriptionIssuanceJobOptions" }, "contactsFulfillment": { "__typename": "ContactsFulfillmentJobOptions" }, "wait": 40 }

ContactsPrescriptionVerificationJob

Contacts prescription verification job details

jobId
String

Unique ID for this job

status
String

Current job status

reason
String

Current job reason, if applicable

contacts

Contacts details

Contacts options

tags

List of tags used to correlate this workflow with other systems

updatedAt
String!,non-null

Last date and time this job was updated

Implements interfaces

ContactsJob

Contacts job interface

Sample
{ "jobId": "Example String", "status": "Example String", "reason": "Example String", "contacts": { "__typename": "Contacts" }, "options": { "__typename": "ContactsJobOptions" }, "tags": [ { "__typename": "Tag" } ], "updatedAt": "Example String" }

ContactsSuggestionJob

Contacts suggestion job details

jobId
String

Unique ID for this job

status
String

Current job status

reason
String

Current job reason, if applicable

contacts

Contacts details

Contacts options

tags

List of tags used to correlate this workflow with other systems

updatedAt
String!,non-null

Last date and time this job was updated

Implements interfaces

ContactsJob

Contacts job interface

Sample
{ "jobId": "Example String", "status": "Example String", "reason": "Example String", "contacts": { "__typename": "Contacts" }, "options": { "__typename": "ContactsJobOptions" }, "tags": [ { "__typename": "Tag" } ], "updatedAt": "Example String" }

Interfaces

Overview

Enums

Overview

Inputs

Overview