Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
How to specify Payment Method in REST POST for CustomerPayment
I am REST POSTing the following json to CustomerPayment:
{ "apply": {"items": [ { "doc": { "apply": true, "id": 109307769 }, "amount": 1.0 } ] } ,
"customer": { "id": 19581797 }, "autoapply" : false , "payment": 1 ,
"paymentMethod": { "internalId": 11 } }
However I get back the error message 'Please enter value(s) for: Payment Method."
I have also tried, all to no avail:
paymentmethod : { "id" : 11}
paymentmethod: { "id" : "11"}
PaymentMethod: { "id" : "11"}
paymentmethod: { [ "id" : "11" ] }
What is NetSuite looking for as the correct way to specify payment method?