def METHOD_NAME(self, request, *args, **kwargs):
    data = self.request.data
    data['openid'] = self.request.auth.openid
    if len(data['warehouse_name']) > 45:
        raise APIException({"detail": "The warehouse name is set to more than 45 characters"})
    if ListModel.objects.filter(openid=data['openid'], warehouse_name=data['warehouse_name'],
                                is_delete=False).exists():
        raise APIException({"detail": "Data Exists"})
    else:
        if ListModel.objects.filter(openid=data['openid'], is_delete=False).count() >= 1:
            raise APIException({"detail": "You Just Can Add 1 Warehouse"})
        else:
            serializer = self.get_serializer(data=data)
            serializer.is_valid(raise_exception=True)
            serializer.save()
            headers = self.get_success_headers(serializer.data)
            return Response(serializer.data, status=200, headers=headers)