capabilities.work

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

Authenticate, discover lab + catalog, and submit an rx order.

  1. Exchange client credentials for a 24-hour bearer token.
  2. Resolve the labs associated with the acting user.
  3. Retrieve the lab's order configuration options.
  4. List lens styles available for the lab and lens type.
  5. List lens materials for the chosen style.
  6. List coats/colors/tints for the chosen style and material.
  7. 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.

More recipes with SpecCheck

List recent orders for a lab