From d267f23fc695a99d95cbcffc4d35602ccef5c563 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 15 May 2021 16:05:52 +0200 Subject: more work on DD13 spec --- core/api-merchant.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/api-merchant.rst') diff --git a/core/api-merchant.rst b/core/api-merchant.rst index 21956e5d..c9d9ca5e 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 -- cgit v1.2.3