HTTPS Patch Method

Hi,

 

We are building a hubspot intergration and their API require PATCH methods to be used for updating.

 

Netsuite does not support the PATCH method. Does anybody know of a work-around? Such as using CURL etc?

 

https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_4567626997.html

Rookie Asked on November 21, 2022 in SuiteScript.
Add Comment
2 Answer(s)

Hi,

I’ve recently been working with HubSpot too.

Firstly, with other systems, I’ve had luck with this:


headers: { 'X-HTTP-Method-Override': 'PATCH' }

That’s worth knowing about but unfortunately it doesn’t work with HubSpot.

Instead, I ended up using a batch update:

https://developers.hubspot.com/docs/api/crm/companies

POST/crm/v3/objects/companies/batch/update

I hope that helps!

Thanks,

Chris

Intermediate Answered on November 22, 2022.
Add Comment

Brilliant Chris,

Thank you very much

Rookie Answered on November 22, 2022.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor