API - Source Field - PHP SDK


API - Source Field - PHP SDK



I’m integrating Constant Contact for one of our projects using the API and the PHP SDK but I can’t find a way to change the Source field that is presented in the interface even after setting the source field of the Contact Object. 


Can you please indicate how to update the source while creating a new contact via the API ?







Hello JermaineR,


There are a few references in that SDK to source, but the only one that has only the word source and nothing else shows source: "API" and that cannot be altered. That is something that comes back as a response that we use more for internal purposes to track where a contact was created from. That field is defined on this page of our developer website (https://developer.constantcontact.com/docs/contacts-api/contacts-collection.html) and it is read only.


The other reference for source I found was for the ACTION_BY_OWNER or ACTION_BY_VISITOR and that should be able to be modified in any section between those two options in any of the files it is used. It is required any time you create or update a contact.


If I missed the reference you were looking for please let me know.

Jimmy D.
Tier II API Support Engineer
Developer Portal

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

Visit Page