original_string: public function update(Webhook $webhook)
      {
          $data = $webhook->exportData();
          $response = $this->request(
              '/admin/webhooks/'.$webhook->id.'.json', 'PUT', array(
              'webhook' => $data
              )
          );
          $webhook->setData($response['webhook']);
      }
code: public function update(Webhook $webhook)
      {
          $data = $webhook->exportData();
          $response = $this->request(
              '/admin/webhooks/'.$webhook->id.'.json', 'PUT', array(
              'webhook' => $data
              )
          );
          $webhook->setData($response['webhook']);
      }
code_tokens: public function update ( Webhook $ webhook ) { $ data = $ webhook -> exportData ( ) ; $ response = $ this -> request ( '/admin/webhooks/' . $ webhook -> id . '.json' , 'PUT' , array ( 'webhook' => $ data ) ) ; $ webhook -> setData ( $ response [ 'webhook' ] ) ; }
docstring: Modify an existing webhook
  
  @link   https://help.shopify.com/api/reference/webhook#update
  @param  Webhook $webhook
  @return void
docstring_tokens: Modify an existing webhook