From ef8c656b4f8b5424f621c157865c4596ee710193 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 14 Mar 2022 23:24:37 +0100 Subject: [PATCH] update API endpoint --- InvenTree/InvenTree/version.py | 5 ++++- InvenTree/company/serializers.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/version.py b/InvenTree/InvenTree/version.py index 19373e930c..7314145072 100644 --- a/InvenTree/InvenTree/version.py +++ b/InvenTree/InvenTree/version.py @@ -12,11 +12,14 @@ import common.models INVENTREE_SW_VERSION = "0.7.0 dev" # InvenTree API version -INVENTREE_API_VERSION = 30 +INVENTREE_API_VERSION = 31 """ Increment this API version number whenever there is a significant change to the API that any clients need to know about +v31 -> 2022-03-14 + - Adds "updated" field to SupplierPriceBreakList and SupplierPriceBreakDetail API endpoints + v30 -> 2022-03-09 - Adds "exclude_location" field to BuildAutoAllocation API endpoint - Allows BuildItem API endpoint to be filtered by BomItem relation diff --git a/InvenTree/company/serializers.py b/InvenTree/company/serializers.py index 6efebce6a0..736e379c8a 100644 --- a/InvenTree/company/serializers.py +++ b/InvenTree/company/serializers.py @@ -278,4 +278,5 @@ class SupplierPriceBreakSerializer(InvenTreeModelSerializer): 'quantity', 'price', 'price_currency', + 'updated', ]