-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
CR3Issues relating to CR3Issues relating to CR3
Description
IncompleteOrderItemError should be included in 10.2.2.1 Order Creation - OrderQuote, OrderProposal and Order error responses, at an Order level.
The error is essenetially the result of a bad request (as there is a missing acceptedOffer or orderedItem property on the OrderItem), therefore we do not need to throw an OrderItem level error, but rather an Order level error, as it will be clear to the caller where the null value is being passed, and therefore does not require as much work for the booking system implementer.
IncompleteOrderItemError should also be updated to return a status code of 400, given that it results from a badly formed request.
Metadata
Metadata
Assignees
Labels
CR3Issues relating to CR3Issues relating to CR3