2023-03-09 — Add Event-Actor-Type header to webhook callbacks
Callbacks to webhooks registered using the Create Webhook Subscription endpoint now contain a header called Event-Actor-Type
. This header indicates the type of user that triggered the webhook event.
The value of the Event-Actor-Type
header can be store_admin
, customer
, integration
, or subscription_app
.
Event-Actor-Type | Trigger |
---|---|
store_admin | Interactions by store administrators in the Subscriptions administration pages. |
customer | Interactions by the customers in the Subscriptions customer portal. |
integration | Interactions by integrations using the Subscriptions API. |
subscription_app | Automated changes performed by the Subscriptions application. |