Skip to main content
Answered

Update Company Attribute with Custom Action

  • April 5, 2023
  • 1 reply
  • 86 views

As the title says, is it possible to update a Company Attribute with a Custom Action?

I tried below, but I'm not sure how to get the unique identifier for the company. 

 

Best answer by Racheal

Hey @Rodney Z Racheal from the support engineer team here👋 

 

It looks like you’ve already got this sorted with my teammate but I’ll add the solution here for future viewers! You can update the company using the company_id value that is set on your end and is available as a dynamic attribute in the UI using the Create or Update a company endpoint instead! With that end point, you would be using a POST request, and rather than adding the company_id to the request URL, you would add it to the request body.

 

This is how the request would look 👇

Screenshot+2023-04-06+at+11.06.40+AM.png?expires=1680834277&signature=16c4ddc27cc73762d83e3c85832808fd0fc161a5d508e1ad9fbb802dde78b26e&resize=516x

 

View original
Did this topic help you find an answer to your question?

1 reply

Racheal
Intercom Team
Forum|alt.badge.img+5
  • Customer Support Engineer
  • 512 replies
  • Answer
  • April 7, 2023

Hey @Rodney Z Racheal from the support engineer team here👋 

 

It looks like you’ve already got this sorted with my teammate but I’ll add the solution here for future viewers! You can update the company using the company_id value that is set on your end and is available as a dynamic attribute in the UI using the Create or Update a company endpoint instead! With that end point, you would be using a POST request, and rather than adding the company_id to the request URL, you would add it to the request body.

 

This is how the request would look 👇

Screenshot+2023-04-06+at+11.06.40+AM.png?expires=1680834277&signature=16c4ddc27cc73762d83e3c85832808fd0fc161a5d508e1ad9fbb802dde78b26e&resize=516x

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings