Cancel Prescription

Requests cancellation of a prescription owned by the authenticated telemedicine provider. For external ERP-managed prescriptions whose order has already been sent to the ERP, success means the request was queued; local cancellation follows only after ERP confirmation. Before that, the prescription and any unshipped order are canceled immediately. Neither path initiates a cannaflow refund. For locally managed prescriptions, cancels the prescription and its associated order, including a refund where applicable. For an externally prepaid order (created via POST /prescriptions/paid), cannaflow does not make an automatic refund. The order and the prescription are cancelled, and you refund the patient on your side, because you collected the payment. Once the pharmacy has packed a locally managed order, or the order has a payment that the pharmacy must refund by hand (for example a bank transfer, or a payment the pharmacy recorded as paid), it can no longer be cancelled via the API (see 409).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the prescription

Body Params
string
enum
required

Why the prescription is being cancelled

Allowed:
Responses

Retry-After seconds.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json