Noticed an inconsistency in V3 API for putContact vs createOrUpdateContact regarding phone number

SOLVED
Go to solution
SegmintD
Brand Influencer
0 Votes

I noticed that the C3 postContact and putContact services both take an array of phone numbers with types (mobile, home, etc) yet the createOrUpdateContact service has only a single phone number field with no type.   How does that single phone number correlate to the multiple that can be sent with postContact and putContact?  Why not have an array of phone numbers w/ type in createOrUpdateContact also? 

1 ACCEPTED SOLUTION
John__B
Employee
0 Votes

Hello SegmintD,

 

Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

It is true that a single contact can support multiple phone numbers and that the POST call to create a contact, as well as the PUT call to update a Contact allow for including multiple phone numbers in an array. 

 

Create a Contact

https://developer.constantcontact.com/api_guide/contacts_create_or_update.html

 

The reason that the Create or Update a Contact endpoint only supports a single phone number is because this endpoint is intended for sign-up forms. A typical sign up form would be intended for a single contact and would only include a single field for a phone number. 

 

Sign-Up Form Endpoint

https://v3.developer.constantcontact.com/api_guide/contacts_create_or_update.html

 

Please have a look and let us know if you have any other questions!

 

Regards,


John B.
API Support Specialist
Did I answer your question? If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.

View solution in original post

1 REPLY 1
John__B
Employee
0 Votes

Hello SegmintD,

 

Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

It is true that a single contact can support multiple phone numbers and that the POST call to create a contact, as well as the PUT call to update a Contact allow for including multiple phone numbers in an array. 

 

Create a Contact

https://developer.constantcontact.com/api_guide/contacts_create_or_update.html

 

The reason that the Create or Update a Contact endpoint only supports a single phone number is because this endpoint is intended for sign-up forms. A typical sign up form would be intended for a single contact and would only include a single field for a phone number. 

 

Sign-Up Form Endpoint

https://v3.developer.constantcontact.com/api_guide/contacts_create_or_update.html

 

Please have a look and let us know if you have any other questions!

 

Regards,


John B.
API Support Specialist
Did I answer your question? If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
Resources
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up