Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

Interfaces

Overview

Enums

Overview

Inputs

Overview

ContactsProductsInput

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

ContactsPrescriptionInput

fileId

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

prescriptionId

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

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

ContactsInput

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

ContactsVerificationOptionsInput

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

ContactsPrescriptionOptionsInput

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

ContactsFulfillmentOptionsInput

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

ContactsOptionsInput

Sample
{ "verification": { "__typename": "ContactsVerificationOptionsInput" }, "prescription": { "__typename": "ContactsPrescriptionOptionsInput" }, "fulfillment": { "__typename": "ContactsFulfillmentOptionsInput" } }

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" }

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" }

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
axis
addition
pupillaryDistance
segmentHeight
Sample
{ "sphere": "Example String", "cylinder": "Example String", "axis": "Example String", "addition": "Example String", "pupillaryDistance": 40, "segmentHeight": 40, "prism": { "__typename": "PrismInput" } }

Scalars

Overview