class PurchaseSerializer(serializers.HyperlinkedModelSerializer):

    def get_fields(self, *args, **kwargs):
        fields = super(PurchaseSerializer, self).get_fields(*args, **kwargs)
Dynamically limiting queryset of related field