Skip to content

Question about Shopify Mandatory compliance webhooks #124

Answered by kinngh
john-kuo asked this question in Q&A
Discussion options

You must be logged in to vote

Hey mate

  1. Returning 200: Already done for you here. All you have to do is write your routes in gdpr.js

  2. To simulate the webhooks, you can use the Shopify CLI to get this up and running. Here's a template:

shopify webhook trigger --topic=gdpr/topic --api-version=2024-01 --client-secret= --delivery-method=http --address=ngrokurl.com/api/gdpr/topic

The topics are in the GDPR route switch/case statement

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@john-kuo
Comment options

@kinngh
Comment options

Answer selected by john-kuo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants