> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commerce-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/commerce-api/events/webhooks/editing-a-webhook.md).

# Editing a webhook

Webhooks are a powerful tool for automating actions between different web services. They allow your applications to receive real-time data from others, enabling you to create highly responsive and interactive experiences. Whether you need to update an application, notify users of new content, or synchronize data across platforms, webhooks offer a flexible solution. In this guide, we'll walk you through the steps to edit a webhook in Global Commerce, allowing you to customize its behavior according to your requirements. From changing the endpoint URL to modifying event subscriptions, you'll learn how to ensure your webhooks are configured to meet your needs efficiently.

To edit a webhook:

1. Sign in to [Global Commerce](https://gc.digitalriver.com/gc/ent/login.do).
2. Select **Administration**, and then click **Webhook Service**. The Webhook Service page appears.\
   &#x20;<img src="/files/-MfYkGIdl9jGNxOzb4zn" alt="" data-size="original">
3. Select the **Webhook ID** you want to turn on or off from the list and click **Edit**. The Edit Webhook page appears.\
   &#x20;<img src="/files/zSzEmxcY9cfBbhdzZibZ" alt="" data-size="original">&#x20;
4. Enter the URL for the endpoint in the **Endpoint URL** field.
5. Optional. Enter the user credentials for the endpoint in the **Username** and **Password** fields.\
   **Note**: If you do not need an extra layer of security, you can leave these fields blank.
6. Optional. Select **Enabled** for **Status**.\
   **Note**: If you do not select **Enabled**, the system will ask if you want to enable the webhook when you click **Create**.
7. Select the checkbox next to each event you want to associate with the endpoint, or select the checkbox next to **Event** to select all events. At least one event type must be chosen.
8. Scroll down and click **Save**.  &#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.digitalriver.com/commerce-api/events/webhooks/editing-a-webhook.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
