Discussions
Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!
Join the largest gathering of the NetSuite Community at SuiteWorld in Las Vegas, September 9-12! Discover cutting-edge innovations, attend insightful sessions, network with industry leaders, and elevate your business to new heights. Register here!
How to set the Payment Method when creating Cash Sales via REST API?
We are trying to create cash sales by using the REST API but changing the payment method from credit card to any other "offline" payment method is not working. This is the section of the json payload we are passing to the cash sale rest endpoint:
{
"currency": {
"id": 1
},
"paymentOperation": {
"id": "SALE"
},
"paymentMethod": {
"id": 10
},
"chargeit": false,
"ccapproved":true,
...
No matter what payment method we set at the payload Netsuite is ignoring it. What are we doing wrong?
0