summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-09 13:41:43 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-09 13:41:43 +0200
commit4e406e059e1fb5f9f91e22e197e9fc9b076dbd9f (patch)
tree680cbb61781b9b68405fd29a9d995997a7374d40 /core
parent4713a43afead8008efb81afeb0639dc98015c5a1 (diff)
downloaddocs-4e406e059e1fb5f9f91e22e197e9fc9b076dbd9f.tar.gz
docs-4e406e059e1fb5f9f91e22e197e9fc9b076dbd9f.tar.bz2
docs-4e406e059e1fb5f9f91e22e197e9fc9b076dbd9f.zip
document test vector for #6855
Diffstat (limited to 'core')
-rw-r--r--core/api-merchant.rst17
1 files changed, 12 insertions, 5 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index c1de77e..6084075 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1541,12 +1541,19 @@ Creating orders
The backend has successfully created the proposal. The response is a
:ts:type:`PostOrderResponse`.
:http:statuscode:`404 Not found`:
- The order given used products from the inventory, but those were not found
- in the inventory. Or the merchant instance is unknown (including possibly the instance being not configured for new orders). 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.
+ Possible reasons are:
+ (1) The order given used products from the inventory, but those were
+ not found in the inventory.
+ (2) The merchant instance is unknown (including possibly the instance
+ being not configured for new orders).
+ (3) The wire method specified is not supported by the backend.
+ Details in the error code.
+ NOTE: currently the client has no good way to find out which product
+ is not in the inventory, we MAY want to specify that in the reply.
:http:statuscode:`409 Conflict`:
- A different proposal already exists under the specified order ID.
+ A different proposal already exists under the specified order ID,
+ or the requested currency is not supported by this backend. Details in
+ the error code.
:http:statuscode:`410 Gone`:
The order given used products from the inventory that are out of stock.
The response is a :ts:type:`OutOfStockResponse`.