Create a prescription (rx) order
A 7-step recipe with SpecCheck. We can help you get access.
Recipe · 7 steps
Create a prescription (rx) order
with SpecCheck
Authenticate, discover lab + catalog, and submit an rx order.
- Exchange client credentials for a 24-hour bearer token.
- Resolve the labs associated with the acting user.
- Retrieve the lab's order configuration options.
- List lens styles available for the lab and lens type.
- List lens materials for the chosen style.
- List coats/colors/tints for the chosen style and material.
- Submit the prescription order to the lab.
What you'll need to have ready
- client_id: Application client ID.
- client_secret: Application client secret.
- user_email: Acting SpecCheck Dashboard user email.
- lens_type
- patient: Patient object (first_name
- frame: Frame object per the Frame schema.
- rx: Rx object with left_eye and/or right_eye.
- mounting_option: One of mounting_options from order settings.
- special_instructions
For your developer
Arazzo workflow speccheck:create-rx-order, 7 operations: createAccessToken → listLabs → retrieveOrderSettings → listLensStyles → listLensMaterials → listLensAddons → createOrder. Specs on APIs.io.