post
https://api.recvue.com/api/v2.0/orders//terminate
Terminates an active order in RecVue. Supports full order cancellation, partial line termination, and amendment-based workflows (save as draft or submit for approval).
Processing Modes (controlled by action field):
- Immediate (default, omit
action): Processes termination instantly - SAVE: Creates a draft amendment for review before committing
- SUBMIT: Submits the termination through the approval workflow
Credit Options:
calculateCredit: Y— Auto-calculate credit based on unused periodcreditMethod: PRORATE— Prorate credit for the remaining billing periodcreditMethod: FULL— Issue full credit regardless of timingcreditMethod: NONE— Terminate without issuing creditfullCredit: Y— Shortcut to issue full creditnoCredit: Y— Shortcut to terminate without any credit
Termination Scope:
- Full order: Set
fullCancellation: true - Single line by number: Provide
lineNumberwithfullCancellation: false - Single line by ID: Provide
lineIdwithfullCancellation: false - Multiple lines: Use
allLineIdswith comma-separated line IDs
Required Fields: orderNumber, businessUnit, reasonCode
