Skip to main content
POST
https://searchcompany-main.up.railway.app
/
api
/
shopify
/
webhooks
/
shop
/
redact
Shop Redact
curl --request POST \
  --url https://searchcompany-main.up.railway.app/api/shopify/webhooks/shop/redact \
  --header 'Content-Type: application/json' \
  --header 'X-Shopify-Hmac-Sha256: <x-shopify-hmac-sha256>' \
  --data '
{
  "shop_id": 123,
  "shop_domain": "<string>"
}
'

Shop Redact Webhook

Shopify sends this webhook 48 hours after a store owner uninstalls your app. This is a mandatory compliance webhook required for all public Shopify apps.

Headers

X-Shopify-Hmac-Sha256
string
required
HMAC signature for webhook verification

Request Body

shop_id
integer
required
The shop ID
shop_domain
string
required
The shop domain

Response

Returns 200 OK with {"success": true} to acknowledge receipt.

Notes

  • This webhook is called by Shopify 48 hours after app uninstall
  • Must respond with 2xx status within 5 seconds
  • Should delete any stored data for this shop
  • We clear the Shopify connection data from our database