capabilities.work

Cancel a Lab Order and Send the User a Portal Link

A 3-step recipe with Vital. We can help you get access.

Recipe · 3 steps

Cancel a Lab Order and Send the User a Portal Link

with Vital · Laboratory Services Management

Cancel an order, confirm it, and create a communications portal URL for the user.

  1. Cancel the order and capture the returned status message.
  2. Read the order back and confirm its latest event reports a cancelled status.
  3. Generate a long-lived communications portal URL deeplinked to the cancelled order so it can be sent to the user over email or SMS.
What you'll need to have ready
  • apiKey: Your Vital API key, sent in the x-vital-api-key header.
  • orderId: The Vital Order ID to cancel.
  • userId: The Vital user_id the order belongs to.
For your developer

Arazzo workflow vital-io:cancel-order-notify-portal, 3 operations: cancel_order_v3_order__order_id__cancel_post → get_order_v3_order__order_id__get → create_user_portal_url_v2_user__user_id__create_portal_url_post. Specs on APIs.io.