Skip to content

Commit 2302f59

Browse files
authored
Merge pull request #208 from violuke/patch-1
Correcting URL for updating an existing webhook
2 parents e119329 + 245c956 commit 2302f59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/includes/wp-api-v3/_webhooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,12 +390,12 @@ This API lets you make changes to a webhook.
390390
<div class="api-endpoint">
391391
<div class="endpoint-data">
392392
<i class="label label-put">PUT</i>
393-
<h6>/wp-json/wc/v3/webhook/&lt;id&gt;</h6>
393+
<h6>/wp-json/wc/v3/webhooks/&lt;id&gt;</h6>
394394
</div>
395395
</div>
396396

397397
```shell
398-
curl -X PUT https://example.com/wp-json/wc/v3/webhook/142 \
398+
curl -X PUT https://example.com/wp-json/wc/v3/webhooks/142 \
399399
-u consumer_key:consumer_secret \
400400
-H "Content-Type: application/json" \
401401
-d '{

0 commit comments

Comments
 (0)