This covers the following cases: 1. Where only the 'lineitem' service endpoint is provided 2. Where only the 'lineitems' service endpoint is provided. Existing tests already cover the case where both are provided.