Skip to main content

WebhookDryRun

Performs a dry run of a webhook event. Supports a single event (the first, if multiple provided in the query). Requires permission relevant to processed event.

Added in Saleor 3.11
This API is currently in Feature Preview and can be subject to changes at later point.
Requires AUTHENTICATED_STAFF_USERpermission.
type WebhookDryRun {
payload: JSONString
errors: [WebhookDryRunError!]!
}

Fields

WebhookDryRun.payload ● JSONString scalar miscellaneous

JSON payload, that would be sent out to webhook's target URL.

WebhookDryRun.errors ● [WebhookDryRunError!]! non-null object webhooks

Returned By

webhookDryRun mutation