Status Handling

The first and most important way to handle submission and product statuses is by returning SubmitStatus object from submitBatch method of a specific SubmitHandler.

If asynchronous status handling is required (i.e. triggered by event coming from external system), status of a product (but not the submission) can be updated with StatusService#sendItemStatus method accepting the same ItemStatus object as submitBatch method returns.