---
title: "Update webhook"
method: PUT
path: "/webhooks/{id}"
tags: ["Webhooks"]
---

# Update webhook

`PUT /webhooks/{id}`

Updates an existing webhook.

## Path parameters

- `id` string, required

## Headers

- `Accept-Language` 'es' | 'en'
- `X-Child-Company-Id` string

## Request body

- WebhookUpdateRequest — Parameters used to update a webhook. All fields are optional; send only the fields you want to change.
  - `url` string, url, required — Here you must place the URL of your Webhook remember that you must program what you will do with the events received. Also do not forget to handle the HTTPS protocol for greater security.
  - `synchronous` boolean — It is a value that allows to decide if the events will be synchronous or asynchronous. We recommend asynchronous = false
  - `events` string[]

## Response `200`

successful operation

## Other responses

- `401` — authentication error
- `404` — not found entity
- `500` — internal server error

---

[API](https://skmtc.net/digitalfemsa/apis/femsa-api.md) · [All operations](https://skmtc.net/digitalfemsa/apis/femsa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalfemsa/femsa-api/versions/2e43caddf36b/schema)
