class MailchimpMarketing::BatchWebhooksApi

def update(batch_webhook_id, body, opts = {})

Update batch webhook
def update(batch_webhook_id, body, opts = {})
  fail ArgumentError, "Missing required param: 'batch_webhook_id'" if batch_webhook_id.nil?
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
  query_params = {}
  post_body = @api_client.object_to_http_body(body)
  local_var_path = '/batch-webhooks/{batch_webhook_id}'.sub('{' + 'batch_webhook_id' + '}', batch_webhook_id.to_s)
  data = @api_client.call_api(:PATCH, local_var_path,
    :query_params => query_params,
    :body => post_body)
  return data
end