Cancel a pickup order by pickup code

This method allows you to cancel an existing order and dispense the items which were loaded for it inside the robot,
if you supply the order pickup code.
If the pickup order has articles which should be directly available for dispensation without personal intervention
they are now available again as an input into the WWKS storage system.
NOTE: Please be aware that the loaded items are not dispensed if there are no real local devices setup. The cancellation and, if applicable, the customer email information is anyway successful. For developing purpose please assume later on the items to be dispensed successful.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
ℹ️

Cancel – short facts:

• Cancel = all related and already input articles get unreserved (by the Robot).
• Cancel = the order won't be deleted, instead it stays stored in the system.
• Cancel = the unique orderNumber will stay with this order and can be accessed any time.
• Cancel = the customer can be notified by E-Mail via the API. Therefore, the correct cancel reason must be selected by you.

Path Params
string
required

The unique pickup code which was generated when creating the order.

Body Params

Additional information required for cancelling the order:
where to dispense the articles, the reason for cancellation and if the api should notify the customer by email about the cancellation.

details about the order cancellation request

int32

the id of the location where the pharmacy robot will output the package.
if you send 1 instead of a number, the robot will output the package on the default location.

string
enum
required
Allowed:
string | null

if cancellation reason is 'other', the detailed reason for cancelling the order.

boolean

if true, the api will also email the customer

Responses

409

The order is in a state which doesn't allow cancelling (has been picked up or is already cancelled)

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