Rest Hook for referral changing


(Conor McCarthy) #1

Is there a REST hook available for when a new Referral is created for a contact?
Also, is there documentation that describes the available REST hooks? At the moment, the only reference I have is a google doc that was emailed to me when I signed up to the REST hooks BETA program.


(Pav) #2

Seems to be a lack of information in the documentation.
https://developer.infusionsoft.com/docs/rest/#!/Rest_Hooks/listHooksUsingGET

As for as I know, these are the only REST Hooks available.

  • contact.add
  • contact.edit
  • contact.delete
  • contactGroup.add
  • contactGroup.edit
  • contactGroup.delete
  • invoice.add
  • invoice.edit
  • invoice.delete
  • order.add
  • order.edit
  • order.delete
  • product.add
  • product.edit
  • product.delete

(Conor McCarthy) #3

Pav,
Thanks for the reply. Sadly, this is what I’ve come to expect from Infusionsoft; lack of documentation and an incomplete implementation.


(John Borelli) #4

@Pav,

Would you know off hand if when subscriptions trigger and create the monthly invoice if the invoice.add trigger is raised in the case of subscriptions?

Just crossed my mind :stuck_out_tongue_winking_eye:


(Pav) #5

@John_Borelli, what do you think I am? A walking Infusionsoft Wikipedia!! :laughing:

I have not tried that scenario out. Although come to think of it, we do not know in depth what scenarios the REST Hooks get triggered. I know they work when manually doing things, and via the API as well. But is every possible scenario covered, that we do not know.

You will have to experiment to see.


(John Borelli) #6

Why yes, yes I do! :joy:

yeah, I’ll run some testing. Just thought I’d ask…well, you know, since you’re an encyclopedia and all :stuck_out_tongue_winking_eye:


(Brett Partridge) #7

I appreciate the honest feedback. We are continually adding to our REST hooks and REST endpoints as we work towards a complete v1. Rather than make developers wait until everything could be complete we release new additions continually. Additionally we have recently implemented automated documentation updating so that the docs stay up to date as code goes out the door as well. We will add a definitive list of available hooks to the documentation, in the meantime the best and real time way is to use the interactive docs themselves (event keys) to see what is live.


(Conor McCarthy) #8

Brett,
Thanks for taking the time to reply. I understand the approach being taken.