From ee24a95f936252c6bed13741acd0fa9c3650856e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 5 Apr 2021 22:12:31 +0200 Subject: clarify API --- 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 47803029..f7d07c35 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 -- cgit v1.2.3