ShopifyParseInput
●tagtree · /shopify·interface
Input bundle for that couples a tagtree CacheSchema to a single Shopify webhook event.
Annotate the assembled payload with this type before calling parseShopifyWebhook to ensure the schema's namespace,
tenant type, and entities map are carried through the generic chain.
Properties
PROPTYPEDESCRIPTION
Example
const input: ShopifyParseInput<typeof ns, string, string, typeof entities> = {
schema,
tenant: shop.domain,
topic: webhookTopic,
body: JSON.parse(rawBody) as Record<string, unknown>,
};
const tags = parseShopifyWebhook(input);Related
parseShopifyWebhook verifyShopifyHmac
MetadataOpen in GitHub ↗