Skip to content

Move IncompleteOrderItemError to Order level #175

@nickevansuk

Description

@nickevansuk

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

No one assigned

    Labels

    CR3Issues relating to CR3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions