Cancel a diagnostic test
Cancels an eligible DiagnosticTest.
Cancels an eligible DiagnosticTest.
Authorization
apiKey In: header
Path Parameters
DiagnosticTestCancelInput identifier
Header Parameters
Language for Errors and Translatable properties
Allowed values: "de", "en", "fr"
The new DiagnosticTestCancelInput resource
TypeScript Definitions
Use the request body type in TypeScript.
Optional reason for cancelling the diagnostic test.
Allowed values: "demo_purpose", "double_booking", "customer_request", "partner_request", "outbound_shipping_issue", "return_shipping_issue", "blood_collection_not_possible", "other_obstacle_issue", "technical_or_organisation_issue", "staff_error", "incorrect_sampling", "sample_lost_in_lab", "lab_error", "address_error", "sample_unusable", "missing_lab_barcode", "other", "gdpr_erasure", "shop_order_cancelled", "shop_refund", null
Optional additional detail about the cancellation.
Response Body
curl -X POST "https://example.com/v1/diagnostic_tests/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel" \ -H "accept-language: de" \ -H "Content-Type: application/json" \ -d '{ "cancellationReason": "customer_request", "cancellationReasonComment": "Requested before evaluation." }'