Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

notificationSubscriptions

List all notification subscriptions

Return type

[NotificationSubscription]
id
String!,non-null
endpoint
String!,non-null
Query sample
query notificationSubscriptions {
  notificationSubscriptions {
    type 
    id 
    endpoint 
  }
}
Response sample
{ "data": [ { "type": "HTTPS", "id": "Example String", "endpoint": "Example String" } ] }

doctors

(...args)

Find doctors by searching for searchString across the following fields: Doctor Name, Practice Name, Address, Phone Number, Fax Number, and Webpage URL, or by finding doctors with fields matching the fields specified in match

Arguments

searchString
String

Value to search for across the following fields: Doctor Name, Practice Name, Address, Phone Number, Fax Number, and Webpage URL

Input fields to compare against doctor fields to determine a match

cursor
String

Used to get the next page of search results

Return type

DoctorConnection

Nodes for this page

pageInfo
PageInfo!,non-null

Details to enable pagination

totalCount
Int!,non-null

Total item count for this query or subquery

Query sample
query doctors(
  $searchString: String
  $match: DoctorMatchInput
  $cursor: String
) {
  doctors(
    searchString: $searchString
    match: $match
    cursor: $cursor
  ) {
    nodes {
      id 
      doctorName 
      practiceName 
      address 
      city 
      state 
      zipCode 
    }
    pageInfo {
      endCursor 
      hasNextPage 
    }
    totalCount 
  }
}
Variables
{ "searchString": "Example String", "match": { "doctorName": "Example String", "practiceName": "Example String", "phoneNumber": "Example String", "faxNumber": "Example String", "email": "Example String", "address": "Example String", "address2": "Example String", "city": "Example String", "state": "Example String", "zipCode": "Example String", "url": "Example String" }, "cursor": "Example String" }
Response sample
{ "data": { "nodes": [ { "id": "Example String", "doctorName": "Example String", "practiceName": "Example String", "address": "Example String", "city": "Example String", "state": "Example String", "zipCode": "Example String" } ], "pageInfo": { "endCursor": "Example String", "hasNextPage": true }, "totalCount": 40 } }

products

(...args)

List all mapped products and their possible parameter values

Arguments

after
String

Filters list for products that come after the specified cursor

prescription

Limits list to only those products extracted from the prescription file

Return type

ContactProductConnection

Nodes for this page

pageInfo
PageInfo!,non-null

Details to enable pagination

totalCount
Int!,non-null

Total item count for this query or subquery

Query sample
query products($after: String, $prescription: PrescriptionInput) {
  products(after: $after, prescription: $prescription) {
    nodes {
      productId 
      manufacturer 
      brand 
      sphere 
      diameter 
      baseCurve 
      axis 
      cylinder 
      addition 
      dominance 
      color 
      packageSize 
    }
    pageInfo {
      endCursor 
      hasNextPage 
    }
    totalCount 
  }
}
Variables
{ "after": "Example String", "prescription": { "fileId": "Example String" } }
Response sample
{ "data": { "nodes": [ { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "sphere": [ "Example String" ], "diameter": [ "Example String" ], "baseCurve": [ "Example String" ], "axis": [ "Example String" ], "cylinder": [ "Example String" ], "addition": [ "Example String" ], "dominance": [ "Example String" ], "color": [ "Example String" ], "packageSize": [ "Example String" ] } ], "pageInfo": { "endCursor": "Example String", "hasNextPage": true }, "totalCount": 40 } }

product

(productId)

Get a product and its possible parameter values

Arguments

productId
String!,non-nullrequired

The product ID of the product to retrieve

Return type

ContactProduct
productId
String!,non-null

ID that uniquely maps to a manufacturer, brand, and model combination

manufacturer
String!,non-null

Manufacturer name

brand
String!,non-null

Brand name

sphere
[String]

Possible sphere values

diameter
[String]

Possible diameter values

baseCurve
[String]

Possible baseCurve values

axis
[String]

Possible axis values

cylinder
[String]

Possible cylinder values

addition
[String]

Possible addition values

dominance
[String]

Possible dominance values

color
[String]

Possible color values

packageSize
[String]

Number of lenses per package

Query sample
query product($productId: String!) {
  product(productId: $productId) {
    productId 
    manufacturer 
    brand 
    sphere 
    diameter 
    baseCurve 
    axis 
    cylinder 
    addition 
    dominance 
    color 
    packageSize 
  }
}
Variables
{ "productId": "Example String" }
Response sample
{ "data": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "sphere": [ "Example String" ], "diameter": [ "Example String" ], "baseCurve": [ "Example String" ], "axis": [ "Example String" ], "cylinder": [ "Example String" ], "addition": [ "Example String" ], "dominance": [ "Example String" ], "color": [ "Example String" ], "packageSize": [ "Example String" ] } }

contactPrescriptionVerificationRequestdeprecated

(requestId)

Deprecation reason

Use contactsPrescriptionVerificationJob.

Get a contact prescription verification request by its requestId

Arguments

requestId
String

Return type

ContactPrescriptionVerificationRequest
id
String!,non-null

Unique ID for this request

Current request status

expirationDate
String

Prescription expiration date if it is available

comments
String

Comments entered by Doctor and/or Visibly

updatedAt
String!,non-null

Last date and time this request was updated

Query sample
query contactPrescriptionVerificationRequest($requestId: String) {
  contactPrescriptionVerificationRequest(requestId: $requestId) {
    id 
    status 
    expirationDate 
    comments 
    updatedAt 
  }
}
Variables
{ "requestId": "Example String" }
Response sample
{ "data": { "id": "Example String", "status": "NEW", "expirationDate": "Example String", "comments": "Example String", "updatedAt": "Example String" } }

contactPrescriptionVerificationJobdeprecated

(jobId)

Deprecation reason

Use contactsPrescriptionVerificationJob.

Get a contact prescription verification job by its jobId

Arguments

jobId
String

Return type

ContactPrescriptionVerificationJob
jobId
String

Unique ID for this job

status
String

Current job status

reason
String

Current job reason, if applicable

notes
String

Notes entered by Doctor and/or Visibly

issueDate
String

Prescription issue date, if available

expirationDate
String

Prescription expiration date, if available

Prescriptions pertinent to the ordered products (inclusive of changes required)

tags

List of tags used to correlate this workflow with other systems

updatedAt
String!,non-null

Last date and time this job was updated

Query sample
query contactPrescriptionVerificationJob($jobId: String) {
  contactPrescriptionVerificationJob(jobId: $jobId) {
    jobId 
    status 
    reason 
    notes 
    issueDate 
    expirationDate 
    prescriptions {
      productId 
      manufacturer 
      brand 
      eye 
      sphere 
      diameter 
      baseCurve 
      axis 
      cylinder 
      addition 
      dominance 
      color 
      packageSize 
    }
    tags {
      name 
      value 
    }
    updatedAt 
  }
}
Variables
{ "jobId": "Example String" }
Response sample
{ "data": { "jobId": "Example String", "status": "Example String", "reason": "Example String", "notes": "Example String", "issueDate": "Example String", "expirationDate": "Example String", "prescriptions": [ { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "eye": "RIGHT", "sphere": "Example String", "diameter": "Example String", "baseCurve": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40 } ], "tags": [ { "name": "Example String", "value": "Example String" } ], "updatedAt": "Example String" } }

contactsPrescriptionVerificationJob

(jobId)

Get a contacts prescription verification job by its jobId

Arguments

jobId
String

Return type

ContactsPrescriptionVerificationJob
jobId
String

Unique ID for this job

status
String

Current job status

reason
String

Current job reason, if applicable

contacts

Contacts details

Contacts options

tags

List of tags used to correlate this workflow with other systems

updatedAt
String!,non-null

Last date and time this job was updated

Query sample
query contactsPrescriptionVerificationJob($jobId: String) {
  contactsPrescriptionVerificationJob(jobId: $jobId) {
    jobId 
    status 
    reason 
    contacts {
      products {
        right {
          productId 
          manufacturer 
          brand 
          schedule 
          type 
          diameter 
          baseCurve 
          sphere 
          axis 
          cylinder 
          addition 
          dominance 
          color 
          packageSize 
          quantity 
        }
        left {
          productId 
          manufacturer 
          brand 
          schedule 
          type 
          diameter 
          baseCurve 
          sphere 
          axis 
          cylinder 
          addition 
          dominance 
          color 
          packageSize 
          quantity 
        }
      }
      prescription {
        fileId 
        prescriptionId 
        issueDate 
        expirationDate 
        doctor {
          id 
          doctorName 
          practiceName 
          address 
          city 
          state 
          zipCode 
        }
        patient {
          patientId 
          firstName 
          middleName 
          lastName 
          dateOfBirth 
          phoneNumber 
          email 
          address 
          address2 
          city 
          state 
          zipCode 
          schedulerLink 
        }
        products {
          right {
            productId 
            manufacturer 
            brand 
            schedule 
            type 
            diameter 
            baseCurve 
            sphere 
            axis 
            cylinder 
            addition 
            dominance 
            color 
            packageSize 
            quantity 
          }
          left {
            productId 
            manufacturer 
            brand 
            schedule 
            type 
            diameter 
            baseCurve 
            sphere 
            axis 
            cylinder 
            addition 
            dominance 
            color 
            packageSize 
            quantity 
          }
        }
        comments 
      }
    }
    options {
      contactsSuggestion {
        jobId 
      }
      contactsPrescriptionVerification {
        jobId 
      }
      contactsPrescriptionIssuance {
        jobId 
        sendText 
        sendEmail 
        buyLink 
      }
      contactsFulfillment {
        jobId 
      }
      wait 
    }
    tags {
      name 
      value 
    }
    updatedAt 
  }
}
Variables
{ "jobId": "Example String" }
Response sample
{ "data": { "jobId": "Example String", "status": "Example String", "reason": "Example String", "contacts": { "products": [ { "right": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 }, "left": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 } } ], "prescription": { "fileId": "Example String", "prescriptionId": "Example String", "issueDate": "Example String", "expirationDate": "Example String", "doctor": { "id": "Example String", "doctorName": "Example String", "practiceName": "Example String", "address": "Example String", "city": "Example String", "state": "Example String", "zipCode": "Example String" }, "patient": { "patientId": "Example String", "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", "schedulerLink": "Example String" }, "products": { "right": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 }, "left": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 } }, "comments": "Example String" } }, "options": { "contactsSuggestion": { "jobId": "Example String" }, "contactsPrescriptionVerification": { "jobId": "Example String" }, "contactsPrescriptionIssuance": { "jobId": "Example String", "sendText": true, "sendEmail": true, "buyLink": true }, "contactsFulfillment": { "jobId": "Example String" }, "wait": 40 }, "tags": [ { "name": "Example String", "value": "Example String" } ], "updatedAt": "Example String" } }

contactsPrescriptionIssuanceJob

(jobId)

Get a contacts prescription issuance job by its jobId

Arguments

jobId
String

Return type

ContactsPrescriptionIssuanceJob
jobId
String

Unique ID for this job

status
String

Current job status

reason
String

Current job reason, if applicable

contacts

Contacts details

Contacts options

tags

List of tags used to correlate this workflow with other systems

updatedAt
String!,non-null

Last date and time this job was updated

Query sample
query contactsPrescriptionIssuanceJob($jobId: String) {
  contactsPrescriptionIssuanceJob(jobId: $jobId) {
    jobId 
    status 
    reason 
    contacts {
      products {
        right {
          productId 
          manufacturer 
          brand 
          schedule 
          type 
          diameter 
          baseCurve 
          sphere 
          axis 
          cylinder 
          addition 
          dominance 
          color 
          packageSize 
          quantity 
        }
        left {
          productId 
          manufacturer 
          brand 
          schedule 
          type 
          diameter 
          baseCurve 
          sphere 
          axis 
          cylinder 
          addition 
          dominance 
          color 
          packageSize 
          quantity 
        }
      }
      prescription {
        fileId 
        prescriptionId 
        issueDate 
        expirationDate 
        doctor {
          id 
          doctorName 
          practiceName 
          address 
          city 
          state 
          zipCode 
        }
        patient {
          patientId 
          firstName 
          middleName 
          lastName 
          dateOfBirth 
          phoneNumber 
          email 
          address 
          address2 
          city 
          state 
          zipCode 
          schedulerLink 
        }
        products {
          right {
            productId 
            manufacturer 
            brand 
            schedule 
            type 
            diameter 
            baseCurve 
            sphere 
            axis 
            cylinder 
            addition 
            dominance 
            color 
            packageSize 
            quantity 
          }
          left {
            productId 
            manufacturer 
            brand 
            schedule 
            type 
            diameter 
            baseCurve 
            sphere 
            axis 
            cylinder 
            addition 
            dominance 
            color 
            packageSize 
            quantity 
          }
        }
        comments 
      }
    }
    options {
      contactsSuggestion {
        jobId 
      }
      contactsPrescriptionVerification {
        jobId 
      }
      contactsPrescriptionIssuance {
        jobId 
        sendText 
        sendEmail 
        buyLink 
      }
      contactsFulfillment {
        jobId 
      }
      wait 
    }
    tags {
      name 
      value 
    }
    updatedAt 
  }
}
Variables
{ "jobId": "Example String" }
Response sample
{ "data": { "jobId": "Example String", "status": "Example String", "reason": "Example String", "contacts": { "products": [ { "right": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 }, "left": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 } } ], "prescription": { "fileId": "Example String", "prescriptionId": "Example String", "issueDate": "Example String", "expirationDate": "Example String", "doctor": { "id": "Example String", "doctorName": "Example String", "practiceName": "Example String", "address": "Example String", "city": "Example String", "state": "Example String", "zipCode": "Example String" }, "patient": { "patientId": "Example String", "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", "schedulerLink": "Example String" }, "products": { "right": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 }, "left": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 } }, "comments": "Example String" } }, "options": { "contactsSuggestion": { "jobId": "Example String" }, "contactsPrescriptionVerification": { "jobId": "Example String" }, "contactsPrescriptionIssuance": { "jobId": "Example String", "sendText": true, "sendEmail": true, "buyLink": true }, "contactsFulfillment": { "jobId": "Example String" }, "wait": 40 }, "tags": [ { "name": "Example String", "value": "Example String" } ], "updatedAt": "Example String" } }

contactsSuggestionJob

(jobId)

Get a contacts products suggestion job by its jobId

Arguments

jobId
String!,non-nullrequired

Return type

ContactsSuggestionJob
jobId
String

Unique ID for this job

status
String

Current job status

reason
String

Current job reason, if applicable

contacts

Contacts details

Contacts options

tags

List of tags used to correlate this workflow with other systems

updatedAt
String!,non-null

Last date and time this job was updated

Query sample
query contactsSuggestionJob($jobId: String!) {
  contactsSuggestionJob(jobId: $jobId) {
    jobId 
    status 
    reason 
    contacts {
      products {
        right {
          productId 
          manufacturer 
          brand 
          schedule 
          type 
          diameter 
          baseCurve 
          sphere 
          axis 
          cylinder 
          addition 
          dominance 
          color 
          packageSize 
          quantity 
        }
        left {
          productId 
          manufacturer 
          brand 
          schedule 
          type 
          diameter 
          baseCurve 
          sphere 
          axis 
          cylinder 
          addition 
          dominance 
          color 
          packageSize 
          quantity 
        }
      }
      prescription {
        fileId 
        prescriptionId 
        issueDate 
        expirationDate 
        doctor {
          id 
          doctorName 
          practiceName 
          address 
          city 
          state 
          zipCode 
        }
        patient {
          patientId 
          firstName 
          middleName 
          lastName 
          dateOfBirth 
          phoneNumber 
          email 
          address 
          address2 
          city 
          state 
          zipCode 
          schedulerLink 
        }
        products {
          right {
            productId 
            manufacturer 
            brand 
            schedule 
            type 
            diameter 
            baseCurve 
            sphere 
            axis 
            cylinder 
            addition 
            dominance 
            color 
            packageSize 
            quantity 
          }
          left {
            productId 
            manufacturer 
            brand 
            schedule 
            type 
            diameter 
            baseCurve 
            sphere 
            axis 
            cylinder 
            addition 
            dominance 
            color 
            packageSize 
            quantity 
          }
        }
        comments 
      }
    }
    options {
      contactsSuggestion {
        jobId 
      }
      contactsPrescriptionVerification {
        jobId 
      }
      contactsPrescriptionIssuance {
        jobId 
        sendText 
        sendEmail 
        buyLink 
      }
      contactsFulfillment {
        jobId 
      }
      wait 
    }
    tags {
      name 
      value 
    }
    updatedAt 
  }
}
Variables
{ "jobId": "Example String" }
Response sample
{ "data": { "jobId": "Example String", "status": "Example String", "reason": "Example String", "contacts": { "products": [ { "right": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 }, "left": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 } } ], "prescription": { "fileId": "Example String", "prescriptionId": "Example String", "issueDate": "Example String", "expirationDate": "Example String", "doctor": { "id": "Example String", "doctorName": "Example String", "practiceName": "Example String", "address": "Example String", "city": "Example String", "state": "Example String", "zipCode": "Example String" }, "patient": { "patientId": "Example String", "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", "schedulerLink": "Example String" }, "products": { "right": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 }, "left": { "productId": "Example String", "manufacturer": "Example String", "brand": "Example String", "schedule": "Example String", "type": "Example String", "diameter": "Example String", "baseCurve": "Example String", "sphere": "Example String", "axis": "Example String", "cylinder": "Example String", "addition": "Example String", "dominance": "Example String", "color": "Example String", "packageSize": 40, "quantity": 40 } }, "comments": "Example String" } }, "options": { "contactsSuggestion": { "jobId": "Example String" }, "contactsPrescriptionVerification": { "jobId": "Example String" }, "contactsPrescriptionIssuance": { "jobId": "Example String", "sendText": true, "sendEmail": true, "buyLink": true }, "contactsFulfillment": { "jobId": "Example String" }, "wait": 40 }, "tags": [ { "name": "Example String", "value": "Example String" } ], "updatedAt": "Example String" } }

glassesPrescriptionVerificationJob

(jobId)

Get a glasses prescription verification job by its jobId

Arguments

jobId
String!,non-nullrequired

Return type

GlassesPrescriptionVerificationJob
jobId
String

Unique ID for this job

status
String

Current job status

reason
String

Current job reason, if applicable

glasses

Glasses details

Glasses options

tags

List of tags used to correlate this workflow with other systems

updatedAt
String!,non-null

Last date and time this job was updated

Query sample
query glassesPrescriptionVerificationJob($jobId: String!) {
  glassesPrescriptionVerificationJob(jobId: $jobId) {
    jobId 
    status 
    reason 
    glasses {
      lenses {
        right {
          type 
          material 
          quality 
          color 
          edge 
          addons 
          focus 
          sphere 
          cylinder 
          axis 
          addition 
          pupillaryDistance {
            intermediate 
            near 
            distance 
          }
          segmentHeight 
          prism {
            horizontal {
              power 
              direction 
            }
            vertical {
              power 
              direction 
            }
          }
        }
        left {
          type 
          material 
          quality 
          color 
          edge 
          addons 
          focus 
          sphere 
          cylinder 
          axis 
          addition 
          pupillaryDistance {
            intermediate 
            near 
            distance 
          }
          segmentHeight 
          prism {
            horizontal {
              power 
              direction 
            }
            vertical {
              power 
              direction 
            }
          }
        }
        type 
        material 
        quality 
        color 
        edge 
        addons 
        focus 
        sphere 
        cylinder 
        axis 
        addition 
        pupillaryDistance {
          intermediate 
          near 
          distance 
        }
        segmentHeight 
        prism {
          horizontal {
            power 
            direction 
          }
          vertical {
            power 
            direction 
          }
        }
      }
      frame {
        sku 
      }
      prescription {
        fileId 
        prescriptionId 
        doctor {
          id 
          doctorName 
          practiceName 
          address 
          city 
          state 
          zipCode 
        }
        patient {
          patientId 
          firstName 
          middleName 
          lastName 
          dateOfBirth 
          phoneNumber 
          email 
          address 
          address2 
          city 
          state 
          zipCode 
          schedulerLink 
        }
        corrections {
          right {
            type 
            material 
            quality 
            color 
            edge 
            addons 
            focus 
            sphere 
            cylinder 
            axis 
            addition 
            pupillaryDistance {
              intermediate 
              near 
              distance 
            }
            segmentHeight 
            prism {
              horizontal {
                power 
                direction 
              }
              vertical {
                power 
                direction 
              }
            }
          }
          left {
            type 
            material 
            quality 
            color 
            edge 
            addons 
            focus 
            sphere 
            cylinder 
            axis 
            addition 
            pupillaryDistance {
              intermediate 
              near 
              distance 
            }
            segmentHeight 
            prism {
              horizontal {
                power 
                direction 
              }
              vertical {
                power 
                direction 
              }
            }
          }
          type 
          material 
          quality 
          color 
          edge 
          addons 
          focus 
          sphere 
          cylinder 
          axis 
          addition 
          pupillaryDistance {
            intermediate 
            near 
            distance 
          }
          segmentHeight 
          prism {
            horizontal {
              power 
              direction 
            }
            vertical {
              power 
              direction 
            }
          }
        }
        issueDate 
        expirationDate 
      }
    }
    options {
      glassesPrescriptionVerification {
        jobId 
      }
      glassesPrescriptionIssuance {
        jobId 
        sendText 
        sendEmail 
        buyLink 
      }
      glassesFulfillment {
        frameOnly 
        lensReplacement 
        lensProtection 
        sendBox 
      }
      wait 
    }
    tags {
      name 
      value 
    }
    updatedAt 
  }
}
Variables
{ "jobId": "Example String" }
Response sample
{ "data": { "jobId": "Example String", "status": "Example String", "reason": "Example String", "glasses": { "lenses": { "right": { "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": { "intermediate": 40, "near": 40, "distance": 40 }, "segmentHeight": "Example String", "prism": { "horizontal": { "power": "Example String", "direction": "IN" }, "vertical": { "power": "Example String", "direction": "UP" } } }, "left": { "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": { "intermediate": 40, "near": 40, "distance": 40 }, "segmentHeight": "Example String", "prism": { "horizontal": { "power": "Example String", "direction": "IN" }, "vertical": { "power": "Example String", "direction": "UP" } } }, "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": { "intermediate": 40, "near": 40, "distance": 40 }, "segmentHeight": "Example String", "prism": { "horizontal": { "power": "Example String", "direction": "IN" }, "vertical": { "power": "Example String", "direction": "UP" } } }, "frame": { "sku": "Example String" }, "prescription": { "fileId": "Example String", "prescriptionId": "Example String", "doctor": { "id": "Example String", "doctorName": "Example String", "practiceName": "Example String", "address": "Example String", "city": "Example String", "state": "Example String", "zipCode": "Example String" }, "patient": { "patientId": "Example String", "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", "schedulerLink": "Example String" }, "corrections": [ { "right": { "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": { "intermediate": 40, "near": 40, "distance": 40 }, "segmentHeight": "Example String", "prism": { "horizontal": { "power": "Example String", "direction": "IN" }, "vertical": { "power": "Example String", "direction": "UP" } } }, "left": { "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": { "intermediate": 40, "near": 40, "distance": 40 }, "segmentHeight": "Example String", "prism": { "horizontal": { "power": "Example String", "direction": "IN" }, "vertical": { "power": "Example String", "direction": "UP" } } }, "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": { "intermediate": 40, "near": 40, "distance": 40 }, "segmentHeight": "Example String", "prism": { "horizontal": { "power": "Example String", "direction": "IN" }, "vertical": { "power": "Example String", "direction": "UP" } } } ], "issueDate": "Example String", "expirationDate": "Example String" } }, "options": { "glassesPrescriptionVerification": { "jobId": "Example String" }, "glassesPrescriptionIssuance": { "jobId": "Example String", "sendText": true, "sendEmail": true, "buyLink": true }, "glassesFulfillment": { "frameOnly": true, "lensReplacement": true, "lensProtection": true, "sendBox": true }, "wait": 40 }, "tags": [ { "name": "Example String", "value": "Example String" } ], "updatedAt": "Example String" } }

Mutations

Overview

Directives

Overview

Objects

Overview

Interfaces

Overview

Enums

Overview

Inputs

Overview