Skip to content

Commit f338312

Browse files
committed
fix url for Update a webhook in text and curl example
1 parent 6524d11 commit f338312

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
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)