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.
Why does PATCH on customer return X-NetSuite-PropertyValidation header?
I am making a PATCH request to update a customer record. If my request payload includes (among other fields):
"defaultShippingAddress": null
I get a 204 No Content (success) status as expected, but the response also includes the header:
X-NetSuite-PropertyValidation: Unknown field name defaultShippingAddress. The field does not exist on this record instance
I guess I need help interpreting this message. "Unknown field name" seems misleading to me, since the field *is defined* in the OA3 metadata for customer: https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2023.1/index.html#/definitions/customer .
How should I interpret this message in the response header?
0