Hi masters,
1. How to fetch all custom fields in Marketo using ReST API
using /rest/v1/lists.json
it will return only 5 fields:
"id":60,
"name":"List Name",
"description" : "desc",
"programName" : "ProgramName",
"createdAt": "2014-03-26T17:29:14+0000",
"updatedAt": "2014-03-26T18:04:10+0000"
2. I want to update custom field how would I know the exact name?
where can I get the correct myCustomField name?
using /rest/v1/leads.json
you supply the parameter like:
{
"action":"createOrUpdate",
"input":[
{
"email":"example@example.com",
"myCustomField":"examplestring"
}
]
}
Thanks