This endpoint is called to request amendment(s) to an existing inflight order to provision, modify or cease a service.
A request will contain 1 or more fields to be amended - only fields supplied should be changed e.g. if a new contact phone number is provided then the existing contact name and email address would remain the same.
The supplier should validate the amendment 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 amendment immediately by returning a 201 created response.
Represents a request to amend an existing inflight service provide order. Any value(s) supplied will replace the existing value(s).
Order amendment request was successful and the order has been updated.
Order amendment 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": 234,
- "orderId": 123,
- "serviceCharacteristics": [
- {
- "name": "ENNI_ID",
- "value": "1"
}
], - "primaryContact": {
- "name": "John Smith",
- "email": "john@smith.com",
- "phoneNumber": "01234 567890"
}, - "secondaryContact": {
- "name": "John Smith",
- "email": "john@smith.com",
- "phoneNumber": "01234 567890"
}, - "appointmentReservationId": 345,
- "appointmentReservationReference": "A234X",
- "requestedCompletionDate": "2022-01-10",
- "engineerTasks": [
- "TEST_SINGLE_DEVICE"
], - "hazards": "string",
- "onSiteRestrictions": "string",
- "notes": "Lorem ipsum dolor sit amet..."
}
{- "supplierReference": "A123-1",
- "id": 234,
- "orderId": 123,
- "serviceCharacteristics": [
- {
- "name": "ENNI_ID",
- "value": "1"
}
], - "primaryContact": {
- "name": "John Smith",
- "email": "john@smith.com",
- "phoneNumber": "01234 567890"
}, - "secondaryContact": {
- "name": "John Smith",
- "email": "john@smith.com",
- "phoneNumber": "01234 567890"
}, - "appointmentReservationId": 345,
- "appointmentReservationReference": "A234X",
- "requestedCompletionDate": "2022-01-10",
- "engineerTasks": [
- "TEST_SINGLE_DEVICE"
], - "hazards": "string",
- "onSiteRestrictions": "string",
- "notes": "Lorem ipsum dolor sit amet..."
}