From 245c956108af200c64b9d1d732a3887c788a05c3 Mon Sep 17 00:00:00 2001 From: Luke Cousins Date: Mon, 23 Aug 2021 15:21:35 +0100 Subject: [PATCH] Correcting URL for updating an existing webhook --- source/includes/wp-api-v3/_webhooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/includes/wp-api-v3/_webhooks.md b/source/includes/wp-api-v3/_webhooks.md index a84d173b..d7d33a19 100644 --- a/source/includes/wp-api-v3/_webhooks.md +++ b/source/includes/wp-api-v3/_webhooks.md @@ -390,12 +390,12 @@ This API lets you make changes to a webhook.
PUT -
/wp-json/wc/v3/webhook/<id>
+
/wp-json/wc/v3/webhooks/<id>
```shell -curl -X PUT https://example.com/wp-json/wc/v3/webhook/142 \ +curl -X PUT https://example.com/wp-json/wc/v3/webhooks/142 \ -u consumer_key:consumer_secret \ -H "Content-Type: application/json" \ -d '{