Skip to main content

Authentication

This endpoint requires bearer token authentication.

Headers

string
required
Your bearer token in the format Bearer <token>.
string
required
The email address of the user creating the order.Must exactly match the email address used to log in to the SpecCheck Dashboard.

Body

string
required
Controls whether the order is saved as a draft or submitted to the lab.Possible enum values:
  • draft — Saves the order as a draft for review and finalization in the SpecCheck Dashboard.
  • submit — Submits the order to the lab for fulfillment.
string
required
The type of submission for this order.Possible enum values:
  • new — A new order.
  • redo — A redo of a previous order.
  • multi_pair — An additional pair submitted as part of a multi-pair order.
string
required
The type of order. Must be one of the values in order_types returned by Retrieve Order Settings.Order type rx is always available; other order types vary by lab.
string
required
The ID of the lab for this order.
string
required
The lab account number for this order.
object
required
Patient information.
string
Mounting option for the order. Must be one of the values in mounting_options returned by Retrieve Order Settings. Required when order_type is rx.
object
Lens configuration. Required when order_type is rx and mode is submit.
object
required
Frame information.
object
Prescription details. Required when order_type is rx.
array of string
A list of lab services for this order. Each value must be one of the values in services returned by Retrieve Order Settings.
string
Free-text special instructions for the lab.The maximum length is 1,000 characters.
object
Details for a redo order. Required when submission_type is redo.
object
Details for a multi-pair order. Required when submission_type is multi_pair.
object
Shipping name and address.

Returns

Returns an object with the order’s unique identifier and an optional url.
string
The unique identifier for the order.
string
The URL to review and finalize the order in the SpecCheck Dashboard. Present when mode is draft.