commit 9f1c19367aea3ae9b69ea05ace2a79a53f8f0523
parent 5e7447c69629bfe9080dde4205e0ec5fb54c895a
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 6 Jan 2026 20:25:24 +0100
v25 includes vGROUPS, fix duplicate entry
Diffstat:
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -2097,7 +2097,7 @@ Getting statistics
This request will return be used to statistics where the
values are amounts. All available values for the given
SLUG will be returned.
- Since protocol **v28**.
+ Since protocol **v25**.
**Required permission:** ``statistics-read``
@@ -2175,7 +2175,7 @@ Getting statistics
This request will return be used to statistics where the
values are counters. All available values for the given
SLUG will be returned.
- Since protocol **v28**.
+ Since protocol **v25**.
**Required permission:** ``statistics-read``
@@ -3218,7 +3218,7 @@ Adding products to the inventory
// is true.
// Zero implies that the product is not sold separately or that the price must be supplied
// by the frontend.
- // Since API version **v28**.
+ // Since API version **v25**.
unit_price?: Amount[];
// True if the price(s) given are a net prices, false if they are
@@ -3227,7 +3227,7 @@ Adding products to the inventory
price_is_net?: boolean;
// Legacy price field.
- // Deprecated since **v28**;
+ // Deprecated since **v25**;
// when present it must match the first element of ``unit_price``.
price?: Amount;
@@ -3248,7 +3248,7 @@ Adding products to the inventory
// Product group the product belongs to. 0 and missing both
// means default.
- // Since **v28**.
+ // Since **v25**.
product_group_id?: Integer;
// Money pot revenue on the product should be accounted in.
@@ -3338,7 +3338,7 @@ Adding products to the inventory
// Product group the product is a member of.
// Optional, if missing if the product to be placed
// into the default group.
- // Since protocol **v28**.
+ // Since protocol **v25**.
product_group_serial?: Integer;
// Human-readable product description.
@@ -3366,11 +3366,11 @@ Adding products to the inventory
// the first entry represents the base price and MUST include applicable taxes.
// Zero implies that the product is not sold separately or that the price must be supplied
// by the frontend.
- // Since API version **v28**.
+ // Since API version **v25**.
unit_price?: Amount[];
// Legacy price field.
- // Deprecated since **v28**;
+ // Deprecated since **v25**;
// when present it must match the first element of ``unit_price``.
price?: Amount;
@@ -3406,7 +3406,7 @@ Adding products to the inventory
// Product group the product belongs to. 0 and missing both
// means default.
- // Since **v28**.
+ // Since **v25**.
product_group_id?: Integer;
// Money pot revenue on the product should be accounted in.
@@ -3436,7 +3436,7 @@ Inspecting inventory
:query category_filter: *Optional*. Only returns products that are in a category where the category name contains the given text as a substring. Matching is case-insensitive. Since protocol **v23**.
:query name_filter: *Optional*. Only returns products where the product name contains the given text as a substring. Matching is case-insensitive. Since protocol **v23**.
:query description_filter: *Optional*. Only returns products where the product description contains the given text as a substring. Matching is case-insensitive. Since protocol **v23**.
- :query product_group_serial: *Optional*. Only returns products where the product group serial matches the given value. Since protocol **v28**.
+ :query product_group_serial: *Optional*. Only returns products where the product group serial matches the given value. Since protocol **v25**.
**Response:**
@@ -3495,7 +3495,7 @@ Inspecting inventory
// Product group the product is a member of.
// Optional, missing if the product is in the default group.
- // Since protocol **v28**.
+ // Since protocol **v25**.
product_group_serial?: Integer;
// Human-readable product description.
@@ -3523,7 +3523,7 @@ Inspecting inventory
unit_price: Amount[];
// Legacy price field kept for compatibility.
- // Deprecated since **v28**;
+ // Deprecated since **v25**;
// equal to the first element of ``unit_price``.
price: Amount;
@@ -3563,7 +3563,7 @@ Inspecting inventory
minimum_age?: Integer;
// Product group the product belongs to. Missing means default.
- // Since **v28**.
+ // Since **v25**.
product_group_id?: Integer;
// Money pot revenue on the product should be accounted in.
@@ -3809,7 +3809,7 @@ in multiple categories. Furthermore, categories are used to make
it easier to find products in user interfaces, while product
groups are used to make it easier to manage taxes.
-Since protocol **v28**.
+Since protocol **v25**.
Adding groups
^^^^^^^^^^^^^
@@ -4343,12 +4343,12 @@ Creating orders
product_id: string;
// Legacy integer quantity.
- // Deprecated since **v28**;
+ // Deprecated since **v25**;
// defaults to 1 if both ``quantity`` and ``unit_quantity`` are absent.
quantity?: Integer;
// Preferred quantity string using "<integer>[.<fraction>]" syntax.
- // @since **v28**;
+ // @since **v25**;
unit_quantity?: string
// Money pot to use for this product, overrides value from
@@ -7260,7 +7260,7 @@ It has the following structure:
unit?: string;
// The price of the product;
- // Deprecated since **v28**;
+ // Deprecated since **v25**;
// this is the total price
// for ``quantity`` times ``unit`` of this product.
price?: Amount;
@@ -7268,7 +7268,7 @@ It has the following structure:
// Price of ``unit_quantity`` units of the product in various currencies.
// Zero or absent implies that the product is not sold
// separately.
- // Since API version **v28**.
+ // Since API version **v25**.
prices?: Amount[];
// True if the ``prices`` given are the net price,