src/Services/MailjetService.php
public function editListrecipient($id, $body)
    {
        $response = $this->client->put(Resources::$Listrecipient, ['id'=>$id, 'body' => $body]);
        if (!$response->success()) {
            $this->throwError("MailjetService:editListrecipient() failed", $response);
        }
        return $response;
    }
public function editListrecipient($id, $body)
    {
        $response = $this->client->put(Resources::$Listrecipient, ['id'=>$id, 'body' => $body]);
        if (!$response->success()) {
            $this->throwError("MailjetService:editListrecipient() failed", $response);
        }
        return $response;
    }
public function editListrecipient ( $ id , $ body ) { $ response = $ this -> client -> put ( Resources :: $ Listrecipient , [ 'id' => $ id , 'body' => $ body ] ) ; if ( ! $ response -> success ( ) ) { $ this -> throwError ( "MailjetService:editListrecipient() failed" , $ response ) ; } return $ response ; }
edit a list recipient
@param  int $id   id of the list recipient
@param  array $body array containing the list informations. the 'ContactID' and 'ListID' parameters are mandatory.See mailjet API documentation for all parameters available
@return array
edit a list recipient