PUT /companies/disableNotifications

PUT /companies/disableNotifications

curl -XPUT \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer 4b1e8df2ff50110ca86e28f2b499facbd78310c9cda0125543ad80ac70cc28d1" \
  https://api.invisiblecollector.com/companies/disable_notifications  \
  --data ''
require 'invisible_collector'

client = InvisibleCollector::API.new(api_token: '4a415cc660e67d8f4d26d5a7f390183a86fc3a4524ded78dc2448e86c48b2739')
client.company.disable_notifications()
import com.ic.invisiblecollector.IcApiFacade;
import com.ic.invisiblecollector.model.Company;

IcApiFacade apiFacade = new IcApiFacade("56a73507b66cd761caae7547ef2a66fc3a393746ba4bb9a91e303fcb3ceefb98");
Company upToDateCompany = apiFacade.getCompanyFacade().setCompanyNotifications(true);
using InvisibleCollectorLib;
using InvisibleCollectorLib.Model;

var ic = new InvisibleCollector("56a73507b66cd761caae7547ef2a66fc3a393746ba4bb9a91e303fcb3ceefb98");
Company updatedCompany = await ic.SetCompanyNotificationsAsync(false);
import "github.com/invisiblecloud/invisible-collector-go/ic"

iC, err := ic.NewInvisibleCollector("56a73507b66cd761caae7547ef2a66fc3a393746ba4bb9a91e303fcb3ceefb98", ic.InvisibleCollectorUri)

var channel = make(chan ic.CompanyPair)
go iC.SetCompanyNotifications(channel, false)
p := <-channel

fmt.Println(p.Company)

Disables notifications for the current authorized company causing Invisible Collector to stop notifying customers of any overdue payments. Note that all remaining functionalities are still available so users are still able to load documents, update policies, etc.

This request is idempotent.

Endpoint

PUT https://api.invisiblecollector.com/companies/disableNotifications

Response body

Same as GET https://api.invisiblecollector.com/companies

Errors

This endpoint may return the following errors

HTTP Code Description
401 Unauthorized Invalid credentials were supplied

Feedback

If you have a question that needs an answer, please contact support.