Reputation: 493
I am writing an application that reads customer and invoice data for an account on Netsuite. For integration, Netsuite provides two types of APIs, SOAP and REST. The SOAP is an older one and sounds reliable. There is even a Java SDK on the SOAP API. But the REST API is still in beta. Certain endpoints of importance to me, like /account, /customer etc are all in beta. Is it good to go with the REST API or with SOAP?
Upvotes: 1
Views: 1271
Reputation: 1042
I agree with @2ps that SOAP is better. In addition to lack of features, OAuth authentication for REST has never worked for me, though it works fine for SOAP.
Upvotes: 1
Reputation: 15926
By far, use the SOAP api. The REST api lacks a lot of features, like multiple-shipping routes for sales orders and is generally speaking more consistent and more reliable than the REST api. Based on our experience in working with the REST api and entering in support tickets about the REST api, it's our opinion that netsuite isn't serious about the REST api or feature parity with the soap api.
Upvotes: 2