Cancel a prescription request
PATCH
/prescription/{prescriptionId}/cancel
const url = 'https://example.com/prescription/example/cancel';const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://example.com/prescription/example/cancel \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”prescriptionId
required
string
Responses
Section titled “Responses”Prescription request cancelled.
