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

# Update a webhook

`PUT /webhooks/{id}`

Updates an existing webhook with the provided information.


      Currently only supports updating **name** and **active** status.

      
Webhooks create an event when an action that is subscribed to is performed in Shipmondo. The event is then sent to the specified endpoint containing the current data of the affected object.

## Path parameters

- `id` integer, required

## Response `200`

Successful.

- Webhook
  - `id` integer — Unique identifier of the object.
  - `endpoint` string — Endpoint the webhook sends request to.
  - `active` boolean — Indicates if the webhook is active.
  - `created_at` string, date-time — ISO 8601 datetime the object was created.
  - `updated_at` string, date-time — ISO 8601 datetime when the object was updated.
  - `name` string — User-specified name of the webhook.
  - `action` 'create' | 'cancel' | 'status_update' | 'create_fulfillment' | 'create_shipment' | 'payment_captured' | 'payment_refunded' | 'payment_voided' | 'delete' | 'latest' | 'delivered' — The action that webhook is hooked to.
  - `resource_name` 'Shipments' | 'Orders' | 'Shipment Monitor' — The name of the resource that webhook is hooked to.

## Other responses

- `401` — Unauthorized.
- `404` — Resource not found.

---

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