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

Arguments

webhookDryRun.objectId ● ID! non-null scalar miscellaneous

The ID of an object to serialize.

webhookDryRun.query ● String! non-null scalar miscellaneous

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

Type

WebhookDryRun object webhooks

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.