I noticed that the deliveryLocationsByBarcode endpoint returns a 500 error when it doesn't find an item for a barcode. Does it always return a 500?
Should we consider better use of status codes? 404?
Sometimes this can be important when trying to decide how to retry errors programmatically.
I noticed that the
deliveryLocationsByBarcodeendpoint returns a500error when it doesn't find an item for a barcode. Does it always return a500?Should we consider better use of status codes? 404?
Sometimes this can be important when trying to decide how to retry errors programmatically.