From 9d31826580b78603151a40a313064c82d202cc5b Mon Sep 17 00:00:00 2001 From: Barry Hughes <3594411+barryhughes@users.noreply.github.com> Date: Fri, 8 Mar 2024 12:23:51 -0800 Subject: [PATCH] Fix header reference --- source/includes/wp-api-v2/_webhooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/wp-api-v2/_webhooks.md b/source/includes/wp-api-v2/_webhooks.md index b3c6887e..6bc38fe3 100644 --- a/source/includes/wp-api-v2/_webhooks.md +++ b/source/includes/wp-api-v2/_webhooks.md @@ -35,7 +35,7 @@ Delivery is performed using `wp_remote_post()` (HTTP POST) and processed in the * `X-WC-Webhook-Event` - e.g. `updated`. * `X-WC-Webhook-Signature` - a base64 encoded HMAC-SHA256 hash of the payload. * `X-WC-Webhook-ID` - webhook's post ID. -* `X-WC-Delivery-ID` - delivery log ID (a comment). +* `X-WC-Webhook-Delivery-ID` - delivery log ID (a comment). The payload is JSON encoded and for API resources (coupons, customers, orders, products), the response is exactly the same as if requested via the REST API.