v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
Contracts

Cancel contract

Cancels (deactivates) a contract. Active contracts cannot be deleted; cancel is the terminal operation.

post/customers/{customerID}/contracts/{contractID}/cancel

Path parameters

customerIDstring required
contractIDstring required

Request body

reasonstring

Optional cancellation reason.

Response

OK - Contract cancelled.

contractIdstring

The contract identifier.

status'active' | 'scheduled' | 'cancelled'

The contract status after the operation (active, scheduled, or cancelled).