StoresynkWebhookHandlerOptions
StoresynkWebhookHandlerOptions =
object
Defined in: @storesynk/next/dist/webhook.d.ts:1
Properties
Section titled “Properties”extraTags?
Section titled “extraTags?”
optionalextraTags?: (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.
Parameters
Section titled “Parameters”string
payload
Section titled “payload”Record<string, unknown> | null
Returns
Section titled “Returns”string[]
secret?
Section titled “secret?”
optionalsecret?: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.