Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Customer Deposit API Error
I am using the Customer Deposit REST API from Postman to create a Customer Deposit record in NetSuite. However, I am encountering a validation error related to the Payment Method field.
The confusing part is that when I retrieve an existing Customer Deposit record using the API, the paymentMethod field is not visible in the response. Despite that, while creating the record via API, NetSuite throws the following error:
“Error while accessing a resource. Please enter value(s) for: Payment Method”
Body for the api is :
{
"externalId": "a0xDN0000000u9ZYAQ",
"exchangeRate": 1,
"payment": 100,
"memo": "Customer deposit via API",
"customer": {
"id": "192005"
Tagged:
0