Added cancel endpoint with explicit clinicCode parameter:
clinicCode
POST /api/v2/Order/cancel?orderId=<string>&clinicCode=<string>&cancelReason=<string>
Cancellation is clinic-scoped using provided clinicCode.
Swagger UI/docs are now exposed for v2 only.
v2
Prevents cross-clinic cancellation when one client can access multiple clinics.
Makes integration behavior deterministic for multi-clinic partners.
Use the cancel endpoint with clinicCode.
Ensure clinicCode reflects the clinic that owns the order.
Update monitoring to include clinicCode, orderId, and response status.
orderId
status
Validate against v2 Swagger/OpenAPI only.
Last updated 1 day ago
Was this helpful?