summaryrefslogtreecommitdiff
path: root/core/api-merchant.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-15 16:05:52 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-15 16:05:52 +0200
commitd267f23fc695a99d95cbcffc4d35602ccef5c563 (patch)
tree3240a266258882312f1cddba1659f81762a3222c /core/api-merchant.rst
parent60f61204fdfa89aa32abf0b916f05021ee89295e (diff)
downloaddocs-d267f23fc695a99d95cbcffc4d35602ccef5c563.tar.gz
docs-d267f23fc695a99d95cbcffc4d35602ccef5c563.tar.bz2
docs-d267f23fc695a99d95cbcffc4d35602ccef5c563.zip
more work on DD13 spec
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r--core/api-merchant.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 21956e5..c9d9ca5 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1542,11 +1542,13 @@ Creating orders
:ts:type:`PostOrderResponse`.
:http:statuscode:`404 Not found`:
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.
@@ -1624,7 +1626,7 @@ Creating orders
fulfillment_url?: string;
}
- The following `ProductSpecification` can be provided if the parts of the
+ The following `MinimalInventoryProduct` can be provided if the parts of the
order are inventory-based, that is if the `PostOrderRequest` uses
``inventory_products``. For such products, which must be in the backend's inventory,
the backend can automatically fill in the amount and other details about