commit ee24a95f936252c6bed13741acd0fa9c3650856e parent 456e6ff7b7b327eab17fb7f82f50e5a99d019f53 Author: Christian Grothoff <christian@grothoff.org> Date: Mon, 5 Apr 2021 22:12:31 +0200 clarify API Diffstat:
| M | core/api-merchant.rst | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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