Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

Interfaces

Overview

Enums

Overview

Inputs

Overview

ContactsPrescriptionInput

fileId
String

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

prescriptionId
String

Prescription ID

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

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

Details about the prescribed contact lenses

issueDate
String

Issue date for the prescription YYYY-MM-DD format

expirationDate
String

Expiration date for the prescription YYYY-MM-DD format

Sample
{ "fileId": "Example String", "prescriptionId": "Example String", "doctor": { "__typename": "DoctorInput" }, "patient": { "__typename": "PatientInput" }, "products": { "__typename": "ContactsProductsInput" }, "issueDate": "Example String", "expirationDate": "Example String" }

ContactsInput

Sample
{ "products": { "__typename": "ContactsProductsInput" }, "prescription": { "__typename": "ContactsPrescriptionInput" } }

ContactsSuggestionJobOptionsInput

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

ContactsPrescriptionVerificationJobOptionsInput

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

ContactsPrescriptionIssuanceJobOptionsInput

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

ContactsFulfillmentJobOptionsInput

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

ContactsJobOptionsInput

contactsPrescriptionVerification
wait
Int

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

Sample
{ "contactsSuggestion": { "__typename": "ContactsSuggestionJobOptionsInput" }, "contactsPrescriptionVerification": { "__typename": "ContactsPrescriptionVerificationJobOptionsInput" }, "contactsPrescriptionIssuance": { "__typename": "ContactsPrescriptionIssuanceJobOptionsInput" }, "contactsFulfillment": { "__typename": "ContactsFulfillmentJobOptionsInput" }, "wait": 40 }

PrismHorizontalInput

Horizontal prism details

power
String!,non-null

Power of the prism in diopters

direction

Direction of the prism from the base

Sample
{ "power": "Example String", "direction": "IN" }
Referenced in

PrismVerticalInput

Vertical prism details

power
String!,non-null

Power of the prism in diopters

direction

Direction of the prism from the base

Sample
{ "power": "Example String", "direction": "UP" }
Referenced in

PrismInput

Prism correction details

Horizontal prism power and direction

Vertical prism power and direction

Sample
{ "horizontal": { "__typename": "PrismHorizontalInput" }, "vertical": { "__typename": "PrismVerticalInput" } }
Referenced in

CorrectionInput

sphere
String!,non-null
cylinder
String
axis
String
addition
String
pupillaryDistance
Float
segmentHeight
Float
Sample
{ "sphere": "Example String", "cylinder": "Example String", "axis": "Example String", "addition": "Example String", "pupillaryDistance": 40, "segmentHeight": 40, "prism": { "__typename": "PrismInput" } }