Open eric-gade opened 2 months ago
If you make a request for a specific product with an invalid WFO code, you still get a 200 (successful) result, just with an empty list as the result.
200
Example.
As a user of the API, I would expect some kind of error code response, maybe even a 404 with an explanation that the given location is invalid.
404
4xx
Did we discuss this in API sync and diagnose the issue?
Description
If you make a request for a specific product with an invalid WFO code, you still get a
200
(successful) result, just with an empty list as the result.Example.
As a user of the API, I would expect some kind of error code response, maybe even a
404
with an explanation that the given location is invalid.Acceptance criteria
4xx
status code for invalid locations, along with an explanation message