Hi Natalia
See a recent post of mine
here, where I explain the difference between an API (interface) and its implementation.
In your case, the Product Inventory API TMF637 contract knows nothing of how the API is implemented, whether there is one, two, or 76 data stores that ultimately feed the result set.
Even with a single underlying data service, there could be any number of error conditions that would cause the response to be incomplete.
It's up to you as an implementer to decide whether to return an error status (4xx) or a success (200), depending on your business needs. You could add to the response body (before the array of Product) a dedicated resource to give feedback to the consumer, and your consumers would have to be aware of this possibility of an incomplete result set and handle it.
Hope it helps
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------