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
]
}