bluebeel / nextjs-shopify

This repository contains the app without webhook for the Build a Shopify app with Node and React tutorial.
nextjs-shopify-bluebeel.vercel.app
MIT License
75 stars 22 forks source link

Add basic support for webhook registration and handling #6

Closed jmurty closed 2 years ago

jmurty commented 3 years ago

Add basic support for registration and handling of Shopify webhook notifications, as a starter example.

Key pieces:

Also includes an endpoint /api/shopify/register-webhooks you can hit manually from within the Shopify Admin 1 to register webhooks, as a convenience to add or update webhooks since the after-auth hook is rarely triggered (unlike in the original Shopify example)

vercel[bot] commented 3 years ago

@jmurty is attempting to deploy a commit to a Personal Account owned by @bluebeel on Vercel.

@bluebeel first needs to authorize it.