---
title: "Changes to Update a webhook"
method: PATCH
path: "/webhooks/{webhookId}"
---

# Changes to Update a webhook

`PATCH /webhooks/{webhookId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 1 breaking, 11 info

## Changes

- **2026-07-13** `859097ed3fe6`: 1 breaking, 11 info
  - request property `data/type` was restricted to a list of enum values
  - added the new optional request property `data/attributes/_disable`
  - added the new optional request property `data/attributes/_enable`
  - added the new optional request property `data/attributes/_regenerate_shared_secret`
  - the request property `data/attributes/include_resources` became nullable
  - the request property `data/attributes/metadata` became nullable
  - the request property `data/attributes/name` became nullable
  - the request property `data/attributes/reference` became nullable
  - the request property `data/attributes/reference_origin` became nullable
  - the `type` request property default value `webhooks` was removed
  - added the new `webhooks` enum value to the request property `data/type`
  - added the media type `application/vnd.api+json` for the response with the status `200`

---

[Operation](https://skmtc.dev/commercelayer/apis/commerce-layer-api/docs/webhooks/:webhookId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/webhooks/:webhookId/patch)
