Skip to content

StoresynkWebhookHandlerOptions

StoresynkWebhookHandlerOptions = object

Defined in: @storesynk/next/dist/webhook.d.ts:1

optional extraTags?: (topic, payload) => string[]

Defined in: @storesynk/next/dist/webhook.d.ts:7

Extend the topic→tag mapping without forking the handler; returned tags are revalidated alongside the built-in ones.

string

Record<string, unknown> | null

string[]


optional secret?: string

Defined in: @storesynk/next/dist/webhook.d.ts:4

Webhook signing secret. Default: process.env.SHOPIFY_WEBHOOK_SECRET; the handler answers 404 when absent.