From f338312d955039f820fe8b5961da5e28d3db1924 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 25 May 2021 12:19:23 +0700 Subject: [PATCH] fix url for Update a webhook in text and curl example --- 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 '{