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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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"
0