Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

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

prescriptionRenewal

(workflowId)

Get prescription renewal information by workflowId

Arguments

workflowId
String

Return type

PrescriptionRenewal
workflowId
String

Workflow ID associated with this prescription renewal

status
String

Current status

reason
String

Current reason, if applicable

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 renewal with other systems

updatedAt
String

Last date and time this renewal was updated

Query sample
query prescriptionRenewal($workflowId: String) {
  prescriptionRenewal(workflowId: $workflowId) {
    workflowId 
    status 
    reason 
    issueDate 
    expirationDate 
    prescriptions {
      productId 
      manufacturer 
      brand 
      eye 
      sphere 
      diameter 
      baseCurve 
      axis 
      cylinder 
      addition 
      dominance 
      color 
      packageSize 
    }
    tags {
      name 
      value 
    }
    updatedAt 
  }
}
Variables
{ "workflowId": "Example String" }
Response sample
{ "data": { "workflowId": "Example String", "status": "Example String", "reason": "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" } }

visionTestJob

(jobId)

Get vision test job by its jobId

Arguments

jobId
String!,non-nullrequired

Return type

VisionTestJob
accountKey
String

Account key

siteKey
String

Site key

jobId
String

Unique ID for this job

status
String

Current job status

reason
String

Current job reason, if applicable

patient

Patient details

Contacts details

Glasses details

tags

List of tags used to correlate this job with other systems

updatedAt
String!,non-null

Last date and time this job was updated

createdAt
String!,non-null

Date and time this job was created

Query sample
query visionTestJob($jobId: String!) {
  visionTestJob(jobId: $jobId) {
    accountKey 
    siteKey 
    jobId 
    status 
    reason 
    patient {
      patientId 
      firstName 
      middleName 
      lastName 
      dateOfBirth 
      phoneNumber 
      email 
      address 
      address2 
      city 
      state 
      zipCode 
      schedulerLink 
    }
    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 
      }
      prescriptions {
        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 
      }
    }
    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 
      }
      prescriptions {
        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 
      }
    }
    tags {
      name 
      value 
    }
    updatedAt 
    createdAt 
  }
}
Variables
{ "jobId": "Example String" }
Response sample
{ "data": { "accountKey": "Example String", "siteKey": "Example String", "jobId": "Example String", "status": "Example String", "reason": "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" }, "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" }, "prescriptions": [ { "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" } ] }, "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" }, "prescriptions": [ { "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" } ] }, "tags": [ { "name": "Example String", "value": "Example String" } ], "updatedAt": "Example String", "createdAt": "Example String" } }

startVisionTestJobdeprecated

(jobId)

Deprecation reason

Use visionTestJob.

Get vision test job by its jobId

Arguments

jobId
String!,non-nullrequired

Return type

StartVisionTestJob
accountKey
String

Account key

siteKey
String

Site key

jobId
String

Unique ID for this job

status
String

Current job status

reason
String

Current job reason, if applicable

patient

Patient details

Contacts details

Glasses details

tags

List of tags used to correlate this job with other systems

updatedAt
String!,non-null

Last date and time this job was updated

createdAt
String!,non-null

Date and time this job was created

Query sample
query startVisionTestJob($jobId: String!) {
  startVisionTestJob(jobId: $jobId) {
    accountKey 
    siteKey 
    jobId 
    status 
    reason 
    patient {
      patientId 
      firstName 
      middleName 
      lastName 
      dateOfBirth 
      phoneNumber 
      email 
      address 
      address2 
      city 
      state 
      zipCode 
      schedulerLink 
    }
    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 
      }
      prescriptions {
        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 
      }
    }
    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 
      }
      prescriptions {
        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 
      }
    }
    tags {
      name 
      value 
    }
    updatedAt 
    createdAt 
  }
}
Variables
{ "jobId": "Example String" }
Response sample
{ "data": { "accountKey": "Example String", "siteKey": "Example String", "jobId": "Example String", "status": "Example String", "reason": "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" }, "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" }, "prescriptions": [ { "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" } ] }, "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" }, "prescriptions": [ { "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" } ] }, "tags": [ { "name": "Example String", "value": "Example String" } ], "updatedAt": "Example String", "createdAt": "Example String" } }

Mutations

Overview

Directives

Overview

Objects

Overview

Interfaces

Overview

Enums

Overview

Inputs

Overview