Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Create a salesOrder and CashSale using the REST API
I need to create a SalesOrder, ItemFulfillment, and a CashSale record in Netsuite for accounting purposes, using the REST API to represent a credit card transaction that already took place in one of our applications. The payment details use a Custom Form installed by the payment processing vendor. From Postman, I'm sending the following JSON to this endpoint: https://99990-sb1.suitetalk.api.netsuite.com/services/rest/record/v1/salesOrder
I was hoping to get the new Id from the salesOrder from this post call, so I can create a ItemFulfillment and a corresponding CashSale record. I also need to figure out how to move the orderStatus from PendingFulfillment to Billed in this process. The paymentMethod, the creditCardNumber and the CVV are not getting set/saved - perhaps there is a permissions setting that preventing from being displayed in NS? Is it possible to create a salesOrder, itemFulfillment, and cashSale all in one request?