Skip to main content
Version: 3.x

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.
webhookDryRun(
objectId: ID!
query: String!
): WebhookDryRun

Arguments

webhookDryRun.objectId ● ID! non-null scalar

The ID of an object to serialize.

webhookDryRun.query ● String! non-null scalar

The subscription query that defines the webhook event and its payload.

Type

WebhookDryRun object

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.

Was this page helpful?