You are here

public function SendinblueApiV2::partnerDrupal in SendinBlue 7.2

Add the Partner's name in sendinblue.

Overrides SendInBlueApiInterface::partnerDrupal

File

includes/Api/SendinblueApiV2.php, line 276

Class

SendinblueApiV2
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);
}