This endpoint is called to request cancellation of an existing inflight order to provision/modify/cease a service or for a cancellation other (unsolicited cease).
The supplier should validate the cancellation request. If the request is invalid or not possible then a 422 code should be returned with reason(s) for the rejection in the response.
The supplier may return a 202 accepted response without confirming the cancellation if further validation/processing is required. In this scenario, the supplier must then send an order update (KCI) to later confirm the order was cancelled or if rejected.
Alternatively, the supplier can confirm the cancellation immediately by returning a 201 created response.
Order cancellation request was successful and the order has been cancelled.
Order cancellation request has been received and will be confirmed or rejected later by a KCI
Bad request - supplied request was malformed or missing mandatory parameters
Unauthorised access
The client is not permitted to access this resource.
Unprocessable entity - invalid data was provided
Invalid or failed response from the supplier
Supplier API is temporarily unavailable
{- "id": 345,
- "orderId": 123,
- "reasonCode": "CUSTOMER_CHANGED_MIND"
}
{- "supplierReference": "A123-1",
- "id": 345,
- "orderId": 123,
- "reasonCode": "CUSTOMER_CHANGED_MIND"
}