Item Input
Use glasses property
{ "type": "GLASSES", "itemId": "Example String", "description": "Example String", "comment": "Example String", "glasses": { "__typename": "GlassesItemInput" }, "lensReplacement": { "__typename": "LensReplacementItemInput" }, "contacts": { "__typename": "ContactsItemInput" } }
Glasses Item Input
Glasses lens and frame details, used for frame-only, lens replacement, and frame + glasses orders
Use glasses.lenses property
Use glasses.frame property
Use options.fulfillment.protection item
Use item.comment item
{ "lens": { "__typename": "LensInput" }, "frame": { "__typename": "FrameInput" }, "protection": true, "comment": "Example String", "glasses": { "__typename": "GlassesInput" }, "options": { "__typename": "GlassesOptionsInput" }, "tags": [ { "__typename": "TagInput" } ], "quantity": 40 }
Lens Replacement Item Input
{ "box": true, "lens": { "__typename": "LensInput" }, "protection": true, "quantity": 40, "comment": "Example String" }
Contacts Item Input
Optional patient information
Use contacts.prescription.patient property
Optional doctor Id
Use contacts.prescription.doctor.doctorId property
Optional doctor information
Use contacts.prescription.doctor property
Optional ordered products
Use contacts.products property
Prescriptions pertinent to the ordered products
Use contacts.prescription property
File IDs from uploadFile for flat files containing prescription information
Use prescription.doctor.fileId property
Use contacts.products.[right|left].quantity property
Use item.comment property
{ "patient": { "__typename": "PatientInput" }, "doctorId": "Example String", "doctor": { "__typename": "DoctorInput" }, "products": [ { "__typename": "ContactProductInput" } ], "prescriptions": [ { "__typename": "ContactProductInput" } ], "fileIds": [ "Example String" ], "quantity": 40, "comment": "Example String", "contacts": { "__typename": "ContactsInput" }, "options": { "__typename": "ContactsOptionsInput" }, "tags": [ { "__typename": "TagInput" } ] }
Order Input
Unique order ID
Date and time when the order was placed in ISO 8601 format
Total order amount
Customer information
Shipping details
Items in the order
{ "orderId": "Example String", "orderedAt": "Example String", "total": 40, "customer": { "__typename": "CustomerInput" }, "shipping": { "__typename": "ShippingInput" }, "items": [ { "__typename": "ItemInput" } ] }