Push leads to Marketo with program status
Hello, we are currently using POST /rest/v1/leads/push.json to add leads to a specific program (either existing leads or new leads).
We need to, in the same request, add the program status that this lead will receive, for example:
{ "input" : [{"name" : "Example", "programStatus" : "Registered"}] }
Currently all leads added to a program through this request receives a status of "Invited" (Event channel).I don't think that it's optimal to send four requests, one for this bulk lead push to Marketo, and another three to update program statuses of grouped leads.
Am I going through the wrong approach here?
Thanks.