Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New webhook: Contact Company Subscription Change #8218

Open
wants to merge 1 commit into
base: staging
from

Conversation

@kuzmany
Copy link
Contributor

kuzmany commented Dec 11, 2019

Please be sure you are submitting this against the staging branch.

Q A
Bug fix?
New feature?
Automated tests included?
Related user documentation PR URL
Related developer documentation PR URL
Issues addressed (#s or URLs)
BC breaks?
Deprecations?

Description:

New webhook event send when contact's companies are changed (added/removed).

Response return

  • added (true or false in case if company is removed from contact)
  • contact object
  • company object in this event (added/removed)

Steps to test this PR:

  1. Load up this PR
  2. Create webhook with Contact Company Subscription Change Event (test endpoint could be take from webhook.site)
    image
  3. Try create contact + assign/remove companies
  4. Check webhook.site if your response contains
  • added (true or false if removed)
  • contact
  • company

List deprecations along with the new alternative:

List backwards compatibility breaks:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.