NetSuite RESTlet Demo - Head in the Cloud Development
HTML-код
- Опубликовано: 22 авг 2024
- In this video we walk through coding a RESTlet in SuiteScript 2.1 that performs CRUD operations on sales orders in NetSuite 2023.2. We test each entry point using token-based authentication (TBA) in Postman.
Thanks for all the helpful videos!
Recently came across the same error when using the delete method. Added Content-Type: application/json to the header request and that did the trick.
Ah, so maybe the issue is that with no body, Postman does not include that header, but adding it back in solves the problem? That kind of makes sense
Here's the code for this demo: www.headintheclouddev.com/code/restlet-2023-demo.zip
Hey Robin, let’s say I have a CRM platform that wants to send data to NetSuite. Would this work for that if I get them the field data you got from the integration record? As well as the acess token and key
Hello! Yes, RESTlets are an ideal way of getting data into NetSuite from another system. You'd basically do a POST request to NetSuite from your other CRM platform to send it the data. If you're not interested in writing SuiteScript code, you could also explore the REST Web Services option as well.