Discussions

Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Weekly Quiz! You only have until October 3, 2024 2 PM ET to comment your answers and earn rewards! Click here for more details.
Don't miss out on our Weekly Quiz! You only have until October 3, 2PM ET to comment your answers and earn rewards! Click here for more details.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!
AI capabilities embedded across the suite help boost productivity and give leaders an edge by helping them analyze data faster and generate unique insights that drive better decision-making. Watch these on-demand webinars to see how our AI capabilities can help you.

Streamline Invoice Processing with AI-Powered Automation

Use AI-Driven Insights for Faster, Better Planning and Forecasting

Is it possible to create a customer record with contact in REST API?

edited Dec 15, 2022 3:41PM in Ask A Guru 3 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 3 (Jul-Sep 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders