Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

Interfaces

Overview

Enums

Overview

Inputs

Overview

GlassesLenPrismHorizontalInput

Horizontal prism details

power
Float!,non-null

Prism strength diopters

Prism base direction

Sample
{ "power": 40, "direction": "IN" }

GlassesLenPrismVerticalInput

Vertical prism details

power
Float!,non-null

Prism strength diopters

Prism base direction

Sample
{ "power": 40, "direction": "UP" }

GlassesLensPrismInput

Prism correction details

Horizontal prism power and direction

Vertical prism power and direction

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

GlassesLensInput

Information about the lens

type

Lens type

Lens material

Lens quality

color

Lens color

Lens edge finish

addons

Additional anti-reflective, anti-fog, anti-scratch, and other coatings

Lens focus

sphere

Sphere

cylinder

Cylinder

axis

Axis

addition

Addition

pupillaryDistance

Pupillary distance

segmentHeight

Segment height

Prism corrections

Sample
{ "type": "DEMO", "material": "CR39", "quality": "STANDARD", "color": "Example String", "edge": "POLISH", "addons": "Example String", "focus": "BIFOCAL", "sphere": 40, "cylinder": 40, "axis": 40, "addition": 40, "pupillaryDistance": { "__typename": "PupillaryDistanceInput" }, "segmentHeight": 40, "prism": { "__typename": "GlassesLensPrismInput" } }

GlassesLensesInput

Information about both lenses

Lens type

Lens material

Lens quality

color

Lens color

Lens edge finish

addons

Additional anti-reflective, anti-fog, anti-scratch, and other coatings

Lens focus

sphere

Sphere

cylinder

Cylinder

axis

Axis

addition

Addition

pupillaryDistance

Pupillary distance

segmentHeight

Segment height

Prism corrections

Sample
{ "right": { "__typename": "GlassesLensInput" }, "left": { "__typename": "GlassesLensInput" }, "type": "DEMO", "material": "CR39", "quality": "STANDARD", "color": "Example String", "edge": "POLISH", "addons": "Example String", "focus": "BIFOCAL", "sphere": 40, "cylinder": 40, "axis": 40, "addition": 40, "pupillaryDistance": { "__typename": "PupillaryDistanceInput" }, "segmentHeight": 40, "prism": { "__typename": "GlassesLensPrismInput" } }

GlassesFrameInput

Information about the frame

Frame SKU

Sample
{ "sku": "Example String" }
Referenced in

GlassesPrescriptionInput

fileId

File ID from uploadFile

prescriptionId

Prescription ID

Prescribing doctor details

Patient details

Prescribed corrections for distance, near, or multifocal lenses

Sample
{ "fileId": "Example String", "prescriptionId": "Example String", "doctor": { "__typename": "DoctorInput" }, "patient": { "__typename": "PatientInput" }, "corrections": [ { "__typename": "GlassesLensesInput" } ] }

GlassesVerificationOptionsInput

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

GlassesPrescriptionOptionsInput

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

GlassesInput

Sample
{ "lenses": { "__typename": "GlassesLensesInput" }, "frame": { "__typename": "GlassesFrameInput" }, "prescription": { "__typename": "GlassesPrescriptionInput" } }

GlassesFulfillmentOptionsInput

frameOnly
lensReplacement
lensProtection
sendBox
Sample
{ "frameOnly": true, "lensReplacement": true, "lensProtection": true, "sendBox": true }

Scalars

Overview