webhooks

Arguments

ArgumentTypeRequiredDefaultDescription
customer_account_idStringNo

If you are a 3PL you can specify one of your customer's account

analyzeBooleanNo

If true, the query will only be analyzed (cost estimated) without executing it.

Return Type

WebhooksQueryResult

Query

query webhooks(
  $customer_account_id: String,
  $analyze: Boolean
) {
  webhooks(
    customer_account_id: $customer_account_id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...WebhookConnectionFragment
    }
  }
}

Variables

{
  "customer_account_id": "abc123",
  "analyze": true
}

Response

{
  "data": {
    "webhooks": {
      "request_id": "abc123",
      "complexity": 987,
      "data": WebhookConnection
    }
  }
}