Hello user286192,
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.
You do need to create the custom fields prior to being able to add data to them.
It looks like you are using the names of the custom fields under "custom_field_id" rather than the actual IDs of the custom fields.
You'd want to make a GET call to /contact_custom_fields in order to get the correct IDs of the custom fields:
GET custom_fields Collection
Please have a look and let us know if you have any other questions!
Announcements
Join our list to be notified of new features and updates to our V3 API.
Sign Up