Calling a external API when a transaction happens

Can anyone recommend how to call a external API to send data after a transaction occurs? For example after a sale happens I want to call my CRM api and store the customer data there. 

Rookie Asked on March 6, 2023 in Best Practices.
Add Comment
1 Answer(s)

if it is a NetSuite to External API/system flow:

then you can deploy a UserEvent Script(afterSubmit) that triggers when “transaction occurs” or simply when transactions are submitted.

use the N/https module to send/post data to the external API/system

when you do so, follow the authentication method and format of the data, as endorsed by the external API.

Rookie Answered on March 6, 2023.
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   Limebox   Become a Sponsor   Become a Sponsor