/NetSuite-OAuth1.0

Connection example to a NetSuite restlet using OAuth 1.0

Primary LanguageTypeScript

NetSuite-OAuth1.0

This repo has examples in multiple languages of how to build a valid OAuth 1.0 header to connect to a NetSuite RESTlet.

Auth data fill in

  • Fill in the netsuiteUrl to your specific account id
  • Fill in the realm and tokens at the beginning of the file

To run this demo:

Node

Install dependencies:

$ npm install

Then run it with

$ npm run start

PHP

$ php src/app.php