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.
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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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