PUT /companies/disableNotifications

PUT /companies/disableNotifications

client = InvisibleCollector::API.new(api_token: '4a415cc660e67d8f4d26d5a7f390183a86fc3a4524ded78dc2448e86c48b2739') client.company.disable_notifications()

IcApiFacade apiFacade = new IcApiFacade("56a73507b66cd761caae7547ef2a66fc3a393746ba4bb9a91e303fcb3ceefb98"); Company upToDateCompany = apiFacade.setCompanyNotifications(true);

var ic = new InvisibleCollector("56a73507b66cd761caae7547ef2a66fc3a393746ba4bb9a91e303fcb3ceefb98"); Company updatedCompany = await ic.SetCompanyNotificationsAsync(false);

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