summaryrefslogtreecommitdiff
path: root/core/api-merchant.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-05 22:12:31 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-05 22:12:31 +0200
commitee24a95f936252c6bed13741acd0fa9c3650856e (patch)
tree60d05b7c013d8c117ef7b61b0ed522d2425cf0a7 /core/api-merchant.rst
parent456e6ff7b7b327eab17fb7f82f50e5a99d019f53 (diff)
downloaddocs-ee24a95f936252c6bed13741acd0fa9c3650856e.tar.gz
docs-ee24a95f936252c6bed13741acd0fa9c3650856e.tar.bz2
docs-ee24a95f936252c6bed13741acd0fa9c3650856e.zip
clarify API
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 4780302..f7d07c3 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1625,7 +1625,9 @@ Creating orders
Note that the ``inventory_products`` will be appended to the
list of ``products`` that the frontend already put into the ``order``.
So if the frontend can sell additional non-inventory products together
- with ``inventory_products``.
+ with ``inventory_products``. Note that the backend will NOT update
+ the ``amount`` of the ``order``, so the frontend must already have calculated
+ the total price --- including the ``inventory_products``.
.. ts:def:: MinimalInventoryProduct