You are here

public function SendinblueApiV3::partnerDrupal in SendinBlue 7.2

Add the Partner's name in sendinblue.

Overrides SendInBlueApiInterface::partnerDrupal

File

includes/Api/SendinblueApiV3.php, line 340

Class

SendinblueApiV3
Sendinblue REST client.

Code

public function partnerDrupal() {
  $data = [];
  $data['key'] = $this->apiKey;
  $data['webaction'] = 'MAILIN-PARTNER';
  $data['partner'] = 'DRUPAL';
  $data['source'] = 'Drupal';
  return $this->sIBHttpClient
    ->doRequestDirect($data);
}