Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MergeLeads fails - no way to specify required leadID #1

Open
JBCSU opened this issue Sep 7, 2023 · 0 comments · May be fixed by #2
Open

MergeLeads fails - no way to specify required leadID #1

JBCSU opened this issue Sep 7, 2023 · 0 comments · May be fixed by #2

Comments

@JBCSU
Copy link

JBCSU commented Sep 7, 2023

MarketoClient\LeadDatabase\Leads\MergeLeads specifies that leadId is a required property, but does not provide a leadId method to set the property. When called as follows, it fails with PHP Fatal error: Uncaught InvalidArgumentException: Required parameter leadId is missing.

$request = $this->marketo->leadDatabase()->mergeLeads()
    ->leadIds( $ids )
    ->mergeInCRM( $mergeInCRM ); 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant