# fulfillOrder **Type:** GraphQL mutations **Description:** Fulfill order ## Arguments - orderedAt (String): Date and time when the order was placed in ISO 8601 format - customer (CustomerInput, Not Null): Customer information - firstName (String): First name - middleName (String): Middle name - lastName (String): Last name - dateOfBirth (String): Date of birth in ISO 8601 format, i.e., YYYY-MM-DD - phoneNumber (String): Phone number - email (String): Email address - address (String): Street address #1 - address2 (String): Street address #2 - city (String): City - state (String): State - zipCode (String): Zip code - shipping (ShippingInput, Not Null): Shipping details - method (String): Shipping method - address (ShippingAddressInput): Shipping address, customer address by default - to (String): Name of the recipient if different than the Patient name - address (String): Street address #1 - address2 (String): Street address #2 - city (String): City - state (String): State - zipCode (String): Zip code - items (ItemInput): Items in the order - type (ItemType, Not Null): undefined - itemId (String) - description (String) - comment (String) - glasses (GlassesItemInput): undefined - lens (LensInput): undefined - type (LensType): Lens type - focus (LensFocus): Lens focus - material (LensMaterial): Lens material - quality (LensQuality): Lens quality - color (String): Lens color - edge (LensEdge): Lens edge type - addons (String): Additional anti-reflective, anti-fog, anti-scratch, and other coatings - prescription (PrescriptionInput): Optionally provided prescription details, applicable to CORRECTIVE lenses only - corrections (CorrectionsInput): Optionally provided correction details, applicable to CORRECTIVE lenses only - frame (FrameInput): undefined - sku (String): Frame SKU - protection (Boolean) - comment (String) - glasses (GlassesInput): undefined - lenses (GlassesLensesInput) - frame (GlassesFrameInput) - prescription (GlassesPrescriptionInput) - options (GlassesJobOptionsInput): undefined - glassesPrescriptionVerification (GlassesPrescriptionVerificationJobOptionsInput) - glassesPrescriptionIssuance (GlassesPrescriptionIssuanceJobOptionsInput) - glassesFulfillment (GlassesFulfillmentJobOptionsInput) - wait (Int): The number of seconds between 0 and 20 to wait for completion; Default: 0 (no wait) - tags (TagInput): undefined - name (String): The name of the tag - value (String): The value of the tag - quantity (Int) - lensReplacement (LensReplacementItemInput): undefined - box (Boolean) - lens (LensInput, Not Null): undefined - type (LensType): Lens type - focus (LensFocus): Lens focus - material (LensMaterial): Lens material - quality (LensQuality): Lens quality - color (String): Lens color - edge (LensEdge): Lens edge type - addons (String): Additional anti-reflective, anti-fog, anti-scratch, and other coatings - prescription (PrescriptionInput): Optionally provided prescription details, applicable to CORRECTIVE lenses only - corrections (CorrectionsInput): Optionally provided correction details, applicable to CORRECTIVE lenses only - protection (Boolean) - quantity (Int) - comment (String) - contacts (ContactsItemInput): undefined - patient (PatientInput): Optional patient information - patientId (String): Patient ID - firstName (String): First name - middleName (String): Middle name - lastName (String): Last name - dateOfBirth (String): Date of birth in ISO 8601 format, i.e., YYYY-MM-DD - phoneNumber (String): Phone number - email (String): Email address - address (String): Street address #1 - address2 (String): Street address #2 - city (String): City - state (String): State - zipCode (String): Zip code - schedulerLink (String): Scheduler link - doctorId (String): Optional doctor Id - doctor (DoctorInput): Optional doctor information - doctorId (String): Doctor ID (conditionally required if doctor name, practice name, and phone number are not set) - doctorName (String): Doctor name (conditionally required if doctor ID is not set) - practiceName (String): Practice name (conditionally required if doctor ID is not set) - phoneNumber (String): Phone number (conditionally required if doctor ID is not set) - faxNumber (String): Fax number - email (String): Doctor email address - address (String): Street address #1 - address2 (String): Street address #2 - city (String): City - state (String): State - zipCode (String): Zip code - url (String): Website URL - products (ContactProductInput): Optional ordered products - productId (String): ID that uniquely maps to a manufacturer, brand, and model combination - eye (Eye): Indication of left (OS) or right (OD) eye - sphere (String): The amount of lens power measured in diopters (D), minus sign (–) for nearsighted, plus sign (+) for farsighted - diameter (String): The width of the contact lens from edge to edge measured by millimeters - baseCurve (String): Indication of the curvature of the inside of the lens - axis (String): The lens meridian with no cylinder power, indicated by a value between 1 and 180 degrees - cylinder (String): The amount of lens power for astigmatism measured in diopters (D), minus sign (–) for nearsighted, plus sign (+) for farsighted - addition (String): The additional magnifying power that applies to the bottom portion of multifocal lenses to fix presbyopia - dominance (String): Indication of dominant or non-dominant eye - color (String): Color of the lens - packageSize (Int): Number of lenses per package - quantity (Int): Number of packages - prescriptions (ContactProductInput): Prescriptions pertinent to the ordered products - productId (String): ID that uniquely maps to a manufacturer, brand, and model combination - eye (Eye): Indication of left (OS) or right (OD) eye - sphere (String): The amount of lens power measured in diopters (D), minus sign (–) for nearsighted, plus sign (+) for farsighted - diameter (String): The width of the contact lens from edge to edge measured by millimeters - baseCurve (String): Indication of the curvature of the inside of the lens - axis (String): The lens meridian with no cylinder power, indicated by a value between 1 and 180 degrees - cylinder (String): The amount of lens power for astigmatism measured in diopters (D), minus sign (–) for nearsighted, plus sign (+) for farsighted - addition (String): The additional magnifying power that applies to the bottom portion of multifocal lenses to fix presbyopia - dominance (String): Indication of dominant or non-dominant eye - color (String): Color of the lens - packageSize (Int): Number of lenses per package - quantity (Int): Number of packages - fileIds (String): File IDs from *uploadFile* for flat files containing prescription information - quantity (Int) - comment (String) - contacts (ContactsInput): undefined - products (ContactsProductsInput) - prescription (ContactsPrescriptionInput) - options (ContactsJobOptionsInput): undefined - contactsSuggestion (ContactsSuggestionJobOptionsInput) - contactsPrescriptionVerification (ContactsPrescriptionVerificationJobOptionsInput) - contactsPrescriptionIssuance (ContactsPrescriptionIssuanceJobOptionsInput) - contactsFulfillment (ContactsFulfillmentJobOptionsInput) - wait (Int): The number of seconds between 0 and 20 to wait for completion; Default: 0 (no wait) - tags (TagInput): undefined - name (String): The name of the tag - value (String): The value of the tag - tags (TagInput): List of tags - name (String): The name of the tag - value (String): The value of the tag ## Response **Type:** Order **Description:** Order details ### Fields - orderId (String): Unique ID for this order - status (String): Current order status