I am trying to create contact using REST API and I am having General Error even if my payload is as expected.
Attaching the payload below. Please guide me on what I am doing wrong.
{
"id":0,
"owner_id":0,
"given_name":"Divyesh",
"middle_name":null,
"family_name":"Desai",
"email_status":null,
"email_opted_in":false,
"date_created":null,
"email_addresses":[
{
"email":"divyesh7@softsages.com",
"field":"EMAIL1"
}
],
"addresses":[
{
"line1":"17 Mystic Lane",
"line2":"Suite 2A",
"locality":"Malvern",
"region":"PA",
"field":"BILLING",
"postal_code":"19355",
"zip_code":"19355",
"zip_four":null,
"country_code":"USA"
}
],
"phone_numbers":null,
"custom_fields":null
}