Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Is it possible to create a customer record with contact in REST API?
Hello, trying to create Customer record via postman, Customer record with address is created with no problems, but having difficulties around adding contact:
when using code below, Customer record is created but not contact:
error code: X-NetSuite-PropertyValidation: Unknown field name contactroles. The field does not exist on this record instance.
"contactroles": {
"items": [{
"Contact": {
"title": "CTO",
"subsidiary": { "id": "5" },
"entityId": "first last",
"email": "api@api.com.au",
"phone": "0400000000"
}}]
}
i tried using "contactlist", but also receive an error.
As far as i see Customer record API is no longer in Beta so maybe there is a solution ?
Thanks