webhook Query
Look up a webhook by ID.
webhook(id: ID!): Webhook
Returns
Show return type
type Webhook implements Node {
id: ID!
name: String
identifier: String
events: [WebhookEvent!]! @deprecated(reason: "Use `asyncEvents` or `syncEvents` instead.")
syncEvents: [WebhookEventSync!]!
asyncEvents: [WebhookEventAsync!]!
app: App!
eventDeliveries(sortBy: EventDeliverySortingInput, filter: EventDeliveryFilterInput, before: String, after: String, first: Int, last: Int): EventDeliveryCountableConnection
targetUrl: String!
isActive: Boolean!
secretKey: String @deprecated(reason: "As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS.")
subscriptionQuery: String
customHeaders: JSONString
payloadGeneration: WebhookPayloadGenerationEnum!
}Arguments
id
id · ID!
ID of the webhook.
Schema: Saleor 3.23.43. Download SDL.