diff --git a/src/backend/InvenTree/InvenTree/api_version.py b/src/backend/InvenTree/InvenTree/api_version.py index cd4ed734b8..623f334fab 100644 --- a/src/backend/InvenTree/InvenTree/api_version.py +++ b/src/backend/InvenTree/InvenTree/api_version.py @@ -1,12 +1,15 @@ """InvenTree API version information.""" # InvenTree API version -INVENTREE_API_VERSION = 403 +INVENTREE_API_VERSION = 404 """Increment this API version number whenever there is a significant change to the API that any clients need to know about.""" INVENTREE_API_TEXT = """ +v404 -> 2025-10-06: https://github.com/inventree/InvenTree/pull/10497 + - Add minimum_stock to PartBrief api response + v403 -> 2025-10-06: https://github.com/inventree/InvenTree/pull/10499 - Adds ability to partially scrap a build output - Adds ability to partially complete a build output diff --git a/src/backend/InvenTree/part/serializers.py b/src/backend/InvenTree/part/serializers.py index 1402267fa3..9bb435f7cb 100644 --- a/src/backend/InvenTree/part/serializers.py +++ b/src/backend/InvenTree/part/serializers.py @@ -336,6 +336,7 @@ class PartBriefSerializer(InvenTree.serializers.InvenTreeModelSerializer): 'locked', 'assembly', 'component', + 'minimum_stock', 'is_template', 'purchaseable', 'salable',