diff --git a/InvenTree/part/api.py b/InvenTree/part/api.py index a2e765796b..51a4a35938 100644 --- a/InvenTree/part/api.py +++ b/InvenTree/part/api.py @@ -169,6 +169,7 @@ class PartDetail(generics.RetrieveUpdateAPIView): return self.serializer_class(*args, **kwargs) + class PartList(generics.ListCreateAPIView): """ API endpoint for accessing a list of Part objects