marello
marello copied to clipboard
Out of stock exception
Hi,
if I post an order with REST and the item is out of stock I get "400 - Bad request". In the profiler I see for error "Cannot order more inventory than available".
Is it possible the send an OutOfStock Exception with HTTP response?
Hi @clicktrend,
Thank you for asking! If I understand correctly you would like to know if it's possible for us to send back a HTTP response with the OutOfStock Exception in the response?
So when you are trying to create an order and the error occurs, you would like to see the OutOfStock exception in the response rather than the "400 - Bad request", correct?
Kind Regards,
Jaimy Casteleijn
Correct!
Could you please tell me which version you're currently running of Marello? This makes investigating it a whole lot easier :)
Kind Regards,
Jaimy Casteleijn
1.5 latest version.