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
String!,non-null

Prism strength diopters

Prism base direction

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

GlassesLenPrismVerticalInput

Vertical prism details

power
String!,non-null

Prism strength diopters

Prism base direction

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

GlassesLensPrismInput

Prism correction details

Horizontal prism power and direction

Vertical prism power and direction

Sample
{ "horizontal": { "__typename": "GlassesLenPrismHorizontalInput" }, "vertical": { "__typename": "GlassesLenPrismVerticalInput" } }

GlassesLensInput

Information about the lens

Lens type

Lens material

Lens quality

color
String

Lens color

Lens edge finish

addons
String

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

Lens focus

sphere
String

Sphere

cylinder
String

Cylinder

axis
String

Axis

addition
String

Addition

pupillaryDistance

Pupillary distance

segmentHeight
String

Segment height

Prism corrections

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

GlassesLensesInput

Information about both lenses

Lens type

Lens material

Lens quality

color
String

Lens color

Lens edge finish

addons
String

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

Lens focus

sphere
String

Sphere

cylinder
String

Cylinder

axis
String

Axis

addition
String

Addition

pupillaryDistance

Pupillary distance

segmentHeight
String

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": "Example String", "cylinder": "Example String", "axis": "Example String", "addition": "Example String", "pupillaryDistance": { "__typename": "PupillaryDistanceInput" }, "segmentHeight": "Example String", "prism": { "__typename": "GlassesLensPrismInput" } }

GlassesFrameInput

Information about the frame

sku
String

Frame SKU

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

GlassesPrescriptionInput

Information about the glasses prescription

fileId
String

File ID from uploadFile

prescriptionId
String

Prescription ID

Prescribing doctor details

Patient details

Prescribed corrections for distance, near, or multifocal 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" }, "corrections": [ { "__typename": "GlassesLensesInput" } ], "issueDate": "Example String", "expirationDate": "Example String" }

GlassesInput

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

GlassesPrescriptionVerificationJobOptionsInput

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

GlassesPrescriptionIssuanceJobOptionsInput

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

GlassesFulfillmentJobOptionsInput

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