---
title: "Update a Webhook"
method: PUT
path: "/v1/environment/webhooks/{webhook_id}"
tags: ["webhooks"]
---

# Update a Webhook

`PUT /v1/environment/webhooks/{webhook_id}`

Update the webhook url property

## Request body

- UpdateWebhookRequestBody — An update webhook request body
  - `url` string, url — A URL
  - `headers` WebhookHeader[] — Array of custom webhook headers
    - `key` string, required — Key/name of a header
    - `value` string, required — Value of a header
  - `name` string — The name of the webhook
  - `store_id` integer — Store ID

## Response `204`

The request was successful.

- string

## Other responses

- `400` — The request contained errors.
- `404` — The specified resource does not exist.
- `500` — An error occurred on ShipEngine's side. > This error will automatically be reported to our engineers.

## Changes

- **2025-11-07** `bacb12a49a2b` — 2 info
  - added the new optional request property `name`
  - added the new optional request property `store_id`
- **2024-10-08** `e4ae9b442f54` — 9 info
  - added the optional property `errors/items/allOf[subschema #1: error]/carrier_code` to the response with the `400` status
  - added the optional property `errors/items/allOf[subschema #1: error]/carrier_code` to the response with the `404` status
  - added the optional property `errors/items/allOf[subschema #1: error]/carrier_code` to the response with the `500` status
  - added the optional property `errors/items/allOf[subschema #1: error]/carrier_id` to the response with the `400` status
  - …5 more
- …earlier changes not shown

[Full history](https://skmtc.dev/shipengine/apis/shipengine-api/changes/v1/environment/webhooks/:webhook_id/put.md)

---

[API](https://skmtc.dev/shipengine/apis/shipengine-api.md) · [All operations](https://skmtc.dev/shipengine/apis/shipengine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shipengine/shipengine-api/revisions/6af91511d87e/schema)
