webhookDryRun Mutation
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.
webhookDryRun(objectId: ID!, query: String!): WebhookDryRun
Returns
Show return type
type WebhookDryRun {
payload: JSONString
errors: [WebhookDryRunError!]!
}Arguments
objectId
objectId · ID!
The ID of an object to serialize.
query
query · String!
The subscription query that defines the webhook event and its payload.
Schema: Saleor 3.23.43. Download SDL.