Skip to main content

addWebhook

Add a Webhook

addWebhook(
customerId: ID
webhookType: WebhookType!
compressionType: CompressionType
enabled: Boolean
name: String
email: String
endpoint: String
maxBatchSize: Int
maxBatchDelayMs: Int
additionalHeaders: [InputPair!]
signatureSecret: String
configOptions: [InputPair!]
): Webhook

Arguments​

addWebhook.customerId ● ID scalar​

addWebhook.webhookType ● WebhookType! non-null enum​

addWebhook.compressionType ● CompressionType enum​

addWebhook.enabled ● Boolean scalar​

addWebhook.name ● String scalar​

addWebhook.email ● String scalar​

addWebhook.endpoint ● String scalar​

addWebhook.maxBatchSize ● Int scalar​

addWebhook.maxBatchDelayMs ● Int scalar​

addWebhook.additionalHeaders ● [InputPair!] list input​

addWebhook.signatureSecret ● String scalar​

addWebhook.configOptions ● [InputPair!] list input​

Type​

Webhook object​

Webhook settings for publishing change events.