Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

Interfaces

Overview

Enums

Overview

Inputs

Overview

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

CorrectionsInput

Sample
{ "right": { "__typename": "CorrectionInput" }, "left": { "__typename": "CorrectionInput" } }
Referenced in

CustomerInput

Information about the customer

firstName
String!,non-null

First name

middleName

Middle name

lastName
String!,non-null

Last name

dateOfBirth

Date of birth in ISO 8601 format, i.e., YYYY-MM-DD

phoneNumber

Phone number

email
String!,non-null

Email address

address
String!,non-null

Street address #1

address2

Street address #2

city
String!,non-null

City

state
String!,non-null

State

zipCode
String!,non-null

Zip code

Sample
{ "firstName": "Example String", "middleName": "Example String", "lastName": "Example String", "dateOfBirth": "Example String", "phoneNumber": "Example String", "email": "Example String", "address": "Example String", "address2": "Example String", "city": "Example String", "state": "Example String", "zipCode": "Example String" }
Referenced in

FrameInput

Information about the frame

Frame SKU

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

Scalars

Overview