Vital Cancel a Lab Order and Send the User a Portal Link
A 3-step recipe with Junction. We can help you get access.
Recipe · 3 steps
Vital Cancel a Lab Order and Send the User a Portal Link
with Junction · Laboratory Services Management
Cancel an order, confirm it, and create a communications portal URL for the user.
- Cancel the order and capture the returned status message.
- Read the order back and confirm its latest event reports a cancelled status.
- 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 junction-com: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.