Skip to main content
Version: 3.x

webhookTrigger

Trigger a webhook event. Supports a single event (the first, if multiple provided in the webhook.subscription_query). Requires permission relevant to processed event. Successfully delivered webhook returns delivery with status='PENDING' and empty payload.

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.
webhookTrigger(
objectId: ID!
webhookId: ID!
): WebhookTrigger

Arguments

webhookTrigger.objectId ● ID! non-null scalar

The ID of an object to serialize.

webhookTrigger.webhookId ● ID! non-null scalar

The ID of the webhook.

Type

WebhookTrigger object

Trigger a webhook event. Supports a single event (the first, if multiple provided in the webhook.subscription_query). Requires permission relevant to processed event. Successfully delivered webhook returns delivery with status='PENDING' and empty payload.

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?