TanqoryDocs

webhookSubscription

  • Query
  • Content and shop

Returns one of the app's webhook subscriptions by ID, or null when it does not exist.

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

WebhookSubscription An app's subscription to a webhook topic: where events are sent, in which format, and which fields they include.

FieldTypeDescription
apiVersionApiVersion!
callbackUrlURL!

Deprecated

createdAtDateTime!
endpointWebhookSubscriptionEndpoint!

Deprecated

filterString
formatWebhookSubscriptionFormat!
idID!
includeFields[String!]!
legacyResourceIdUnsignedInt64!
metafieldNamespaces[String!]!
metafields[WebhookSubscriptionMetafieldIdentifier!]!
nameString
tanqoryExtNotSentReasonString

Why this webhook's deliveries are not sent now, in the merchant's words (e.g. "Not sent: the staff member who created it no longer has the customers.view permission"); null while it sends. Only a webhook made on the Webhooks page has one.

topicWebhookSubscriptionTopic!
updatedAtDateTime!
uriString!

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query WebhookSubscription($id: ID!) {\n  webhookSubscription(id: $id) {\n    callbackUrl\n    createdAt\n    filter\n    format\n    id\n    includeFields\n    legacyResourceId\n    metafieldNamespaces\n    name\n    tanqoryExtNotSentReason\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10