Skip to main content

I am working on developing an app with the regular builder and not CLI. I need to pass contact information from sources like forms or CRMs. 

 

I can add the Action of add contact and use the API resource of Subscribers. I am able to pass the email, but nothing else. 

 

I tries using the Line Item Group, like I did for Order Information (another Action), but there seems to be more nested data. I see Custom Fields, Field Name and Value. 

Is there a way to do this without using CLI?

 

Here is the example API documentation:

 

POST https://edapi.campaigner.com/v1/Subscribers HTTP/1.1
ApiKey: 67c27802-f234-4196-b44c-460245d4978e
Content-Type: application/json

{
"EmailAddress": "jason@example.net",
"CustomFields": e
{
"FieldName": "FirstName",
"Value": "Bob"
},
{
"FieldName": "Age",
"Value": "32"
},
{
"FieldName": "OtherDate",
"Value": "6/13/2011"
}
],
"Publications": i
1,
3
]
}

Hi @hank3rd! We’ll need a bit more context to help you out with this one, so I’ve escalated your question to the Support Team so that they can take a look at it. Soemone will be in touch via email as soon as possible. 


@Danvers I think that I finally got somewhere. I did not know that I could customize the API call. I was able to pass one field and I am going to add more. I will start a new thread if I need anything else. 

 

 


That’s great @hank3rd!

 

Thanks for letting us know 🙂