HTTP status 409. Only the Affinity app gets this code.
The pharmacy has no cancel call, so Resend cannot send the held cancel. It cancels by phone only.
Recovery
Call the pharmacy, then confirm the cancellation or record that it could not cancel.
Branch on code, not on the text of detail. Give Affinity the requestId when you report a problem.