{"id":19373449,"url":"https://github.com/gmihaylov/netsuite-nodejs-restlet-call","last_synced_at":"2026-05-18T15:14:13.045Z","repository":{"id":214564995,"uuid":"735062595","full_name":"gmihaylov/netsuite-nodejs-restlet-call","owner":"gmihaylov","description":"Simple NodeJS app that call NetSuite RESTlet and get JSON data","archived":false,"fork":false,"pushed_at":"2023-12-29T02:15:37.000Z","size":520,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-03T12:50:50.213Z","etag":null,"topics":["netsuite-api","netsuite-integration","netsuite-restlets","nodejs","oauth1","restlet"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gmihaylov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-23T14:29:14.000Z","updated_at":"2025-03-11T00:33:46.000Z","dependencies_parsed_at":"2023-12-29T03:45:10.600Z","dependency_job_id":"e9112cce-5e52-4493-8699-577c13e537f5","html_url":"https://github.com/gmihaylov/netsuite-nodejs-restlet-call","commit_stats":null,"previous_names":["gmihaylov/netsuite-nodejs-restlet-call"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gmihaylov/netsuite-nodejs-restlet-call","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmihaylov%2Fnetsuite-nodejs-restlet-call","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmihaylov%2Fnetsuite-nodejs-restlet-call/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmihaylov%2Fnetsuite-nodejs-restlet-call/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmihaylov%2Fnetsuite-nodejs-restlet-call/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmihaylov","download_url":"https://codeload.github.com/gmihaylov/netsuite-nodejs-restlet-call/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmihaylov%2Fnetsuite-nodejs-restlet-call/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33182010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["netsuite-api","netsuite-integration","netsuite-restlets","nodejs","oauth1","restlet"],"created_at":"2024-11-10T08:28:21.938Z","updated_at":"2026-05-18T15:14:08.026Z","avatar_url":"https://github.com/gmihaylov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NetSuite NodeJS RESTlet Call \u0026 How-To\nSimple NodeJS app that call NetSuite RESTlet and get JSON data\n\n## Used libraries\n- oauth-1.0a\n- crypto-js\n- axios\n\n## How to deploy\n- clone repo\n- do \"npm install\" in repo folder\n- edit index.js with vim :) and fill consumerKey, consumerSecret, tokenId, tokenSecret, restletUrl, accountId\n- run app with \"node index.js\"\n- see your RESTlet returning data :)\n\n## How to get Oauth keys from NetSuite ?\n1. Go to Setup \u003e Integration \u003e Manage Integrations \u003e New \n - In name enter \"NetSuite NodeJS Restlet Call App\"\n - Check \"Token-Base Authentication\" and uncheck all other checkboxes\n![App Screenshot](screenshots/screenshot1.png)\n2. Click \"Save\"\n![App Screenshot](screenshots/screenshot2.png)\n- After succesfull Save write down \"Consumer Key / Client\" \u0026 \"Consumer Secret / Client Secret\"\n3. Create new role go to Setup \u003e Users/Roles \u003e Manage Roles \u003e New\n - Check \"Web Services Only Role\"\n - On the Permissions tab\n   - Setup subtab\n     - Add \"Integration Application\"\n     - Add \"Log in using Access Tokens\"\n     - Add \"User Access Tokens\"\n     - ... any other needed permissions\n - Click \"Save\"\n4. Add newly created role to your user\n    - Setup \u003e Users / Roles \u003e Manage Users\n    - Edit your User\n    - In \"Access\" tab add the role created in step 3\n5. Create Token ID / Token Secret\n   - Go to Setup \u003e Users / Roles \u003e Access Tokens \u003e New\n   - On \"Aplication Name\" choose \"NetSuite NodeJS Restlet Call App\"\n   - On \"User\" choose your user\n   - On \"Role\" choose role you created in step 3\n   - Click on \"Save\"\n   - After successfull save write down \"Token ID / Token Secret\"\n![App Screenshot](screenshots/screenshot3.png)\n6. Get Account ID / Realm\n   - Go to Setup \u003e Integration \u003e SOAP Web Services Preferences \u003e Account ID\n7. Get Restlet UR\n   - Go to the Script deployment of the RESTlet and Copy \"External URL\"\n     ![App Screenshot](screenshots/screenshot4.png)\n8. With all this information entered in index.js you can now call your RESTlet with \"node index.js\"\n![App Screenshot](screenshots/screenshot5.png)\n\n## Screenshots\n![App Screenshot](screenshots/screenshot6.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmihaylov%2Fnetsuite-nodejs-restlet-call","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmihaylov%2Fnetsuite-nodejs-restlet-call","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmihaylov%2Fnetsuite-nodejs-restlet-call/lists"}