update API endpoint

This commit is contained in:
Matthias 2022-03-14 23:24:37 +01:00
parent 752b70c1f7
commit ef8c656b4f
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -278,4 +278,5 @@ class SupplierPriceBreakSerializer(InvenTreeModelSerializer):
'quantity',
'price',
'price_currency',
'updated',
]