commit 6570cab515e073fad4b7bf8f5ada4bb4cff12788
parent 9da4ba3b74d5725160831cce8ec94e5e2f47daf7
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 25 Oct 2020 19:58:51 +0100
specify better status code for existing proposal
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -660,6 +660,8 @@ Payment processing
in the inventory. Or the merchant instance is unknown. Details in the
error code. NOTE: no good way to find out which product is not in the
inventory, we MAY want to specify that in the reply.
+ :status 409 Conflict:
+ A different proposal already exists under the specified order ID.
:status 410 Gone:
The order given used products from the inventory that are out of stock.
The reponse is a :ts:type:`OutOfStockResponse`.