We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I put attributes on CreateContact instance they're skipped and not imported. Following my partial code:
$attribs = new \stdClass(); $attribs->FNAME = "Roger"; $attribs->LNAME = "White";
$createContact = new \Brevo\Client\Model\CreateContact(); $createContact->setEmail('[email protected]'); $createContact->setListIds([2]); $createContact->setAttributes($attribs); $createContact->setUpdateEnabled (true);
try { $result = $apiInstance->createContact($createContact); print_r($result); } catch (Exception $e) { print_r($e); echo 'Exception when calling ContactsApi->createContact: ', $e->getMessage(), PHP_EOL; }
the contact creation was successfully but without attributes. I only see the email in Brevo dashboard.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I put attributes on CreateContact instance they're skipped and not imported.
Following my partial code:
$attribs = new \stdClass();
$attribs->FNAME = "Roger";
$attribs->LNAME = "White";
$createContact = new \Brevo\Client\Model\CreateContact();
$createContact->setEmail('[email protected]');
$createContact->setListIds([2]);
$createContact->setAttributes($attribs);
$createContact->setUpdateEnabled (true);
try {
$result = $apiInstance->createContact($createContact);
print_r($result);
} catch (Exception $e) {
print_r($e);
echo 'Exception when calling ContactsApi->createContact: ', $e->getMessage(), PHP_EOL;
}
the contact creation was successfully but without attributes. I only see the email in Brevo dashboard.
The text was updated successfully, but these errors were encountered: